Struct twilight_http::response::marker::EmptyBody
source · #[non_exhaustive]pub struct EmptyBody;
Expand description
Marker that a response has no body. Responses with this marker can’t be deserialized.
Requests like AddRoleToMember
or DeleteRole
use this.
Trait Implementations§
source§impl PartialEq for EmptyBody
impl PartialEq for EmptyBody
impl Eq for EmptyBody
impl StructuralPartialEq for EmptyBody
Auto Trait Implementations§
impl Freeze for EmptyBody
impl RefUnwindSafe for EmptyBody
impl Send for EmptyBody
impl Sync for EmptyBody
impl Unpin for EmptyBody
impl UnwindSafe for EmptyBody
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.