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<EmptyBody> for EmptyBody
impl PartialEq<EmptyBody> for EmptyBody
impl Eq for EmptyBody
impl StructuralEq for EmptyBody
impl StructuralPartialEq for EmptyBody
Auto Trait Implementations§
impl RefUnwindSafe for EmptyBody
impl Send for EmptyBody
impl Sync for EmptyBody
impl Unpin for EmptyBody
impl UnwindSafe for EmptyBody
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.