pub struct Ref<T> { /* private fields */ }
Expand description
Reference to a record, can be used to load a record or to refer a record from another one.
Trait Implementations§
source§impl<T: Persistent> Display for Ref<T>
impl<T: Persistent> Display for Ref<T>
source§impl<T: Persistent> FromStr for Ref<T>
impl<T: Persistent> FromStr for Ref<T>
source§impl<T: Persistent> IndexableValue for Ref<T>
impl<T: Persistent> IndexableValue for Ref<T>
source§impl<T: Ord> Ord for Ref<T>
impl<T: Ord> Ord for Ref<T>
source§impl<T> PartialEq<Ref<T>> for Ref<T>
impl<T> PartialEq<Ref<T>> for Ref<T>
source§impl<T> PartialOrd<Ref<T>> for Ref<T>
impl<T> PartialOrd<Ref<T>> for Ref<T>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<T: Persistent> PersistentEmbedded for Ref<T>
impl<T: Persistent> PersistentEmbedded for Ref<T>
source§impl<T: Persistent> Projection<Ref<T>> for Ref<T>
impl<T: Persistent> Projection<Ref<T>> for Ref<T>
fn projection(source: &Ref<T>) -> Self
impl<T: Eq> Eq for Ref<T>
impl<T> StructuralEq for Ref<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Ref<T>where T: RefUnwindSafe,
impl<T> Send for Ref<T>where T: Send,
impl<T> Sync for Ref<T>where T: Sync,
impl<T> Unpin for Ref<T>where T: Unpin,
impl<T> UnwindSafe for Ref<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