pub struct Collection<M> { /* private fields */ }
Implementations§
Source§impl<M> Collection<M>where
M: FromMetadata,
impl<M> Collection<M>where
M: FromMetadata,
Trait Implementations§
Source§impl<M: Clone> Clone for Collection<M>
impl<M: Clone> Clone for Collection<M>
Source§fn clone(&self) -> Collection<M>
fn clone(&self) -> Collection<M>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<M: Debug> Debug for Collection<M>
impl<M: Debug> Debug for Collection<M>
Source§impl<M> FromMetadata for Collection<M>
impl<M> FromMetadata for Collection<M>
Source§fn from_metadata(client: HttpClient, metadata: Metadata) -> Self
fn from_metadata(client: HttpClient, metadata: Metadata) -> Self
Creates an item given the http configuration and item metadata. No
validation is performed that the metadata is correct.
Source§impl<M> MetadataItem for Collection<M>
impl<M> MetadataItem for Collection<M>
Auto Trait Implementations§
impl<M> !Freeze for Collection<M>
impl<M> !RefUnwindSafe for Collection<M>
impl<M> Send for Collection<M>where
M: Send,
impl<M> Sync for Collection<M>where
M: Sync,
impl<M> Unpin for Collection<M>where
M: Unpin,
impl<M> !UnwindSafe for Collection<M>
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