Struct twilight_http::response::marker::ListBody
source · pub struct ListBody<T> { /* private fields */ }
Expand description
Marker that a response has a list of something.
May be used via the Response::models
.
Trait Implementations§
source§impl<T: PartialEq> PartialEq<ListBody<T>> for ListBody<T>
impl<T: PartialEq> PartialEq<ListBody<T>> for ListBody<T>
impl<T: Eq> Eq for ListBody<T>
impl<T> StructuralEq for ListBody<T>
impl<T> StructuralPartialEq for ListBody<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for ListBody<T>where T: RefUnwindSafe,
impl<T> Send for ListBody<T>where T: Send,
impl<T> Sync for ListBody<T>where T: Sync,
impl<T> Unpin for ListBody<T>where T: Unpin,
impl<T> UnwindSafe for ListBody<T>where T: UnwindSafe,
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
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.