pub struct Collection<T> { /* private fields */ }Expand description
Marker value for a collection navigation.
Collection navigation fields are ignored by column metadata and start empty when an entity is materialized without an explicit include/load operation.
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for Collection<T>
impl<T: Clone> Clone for Collection<T>
Source§fn clone(&self) -> Collection<T>
fn clone(&self) -> Collection<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for Collection<T>
impl<T: Debug> Debug for Collection<T>
Source§impl<T> Default for Collection<T>
impl<T> Default for Collection<T>
Source§impl<T: PartialEq> PartialEq for Collection<T>
impl<T: PartialEq> PartialEq for Collection<T>
Source§fn eq(&self, other: &Collection<T>) -> bool
fn eq(&self, other: &Collection<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<T: Eq> Eq for Collection<T>
impl<T> StructuralPartialEq for Collection<T>
Auto Trait Implementations§
impl<T> Freeze for Collection<T>
impl<T> RefUnwindSafe for Collection<T>where
T: RefUnwindSafe,
impl<T> Send for Collection<T>where
T: Send,
impl<T> Sync for Collection<T>where
T: Sync,
impl<T> Unpin for Collection<T>where
T: Unpin,
impl<T> UnsafeUnpin for Collection<T>
impl<T> UnwindSafe for Collection<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