pub struct Navigation<T> { /* private fields */ }Expand description
Marker value for a single related entity navigation.
Navigation fields are not persisted as columns. They exist so
#[derive(Entity)] can attach navigation metadata to the entity while
future loading APIs decide explicitly when related rows are fetched.
Implementations§
Trait Implementations§
Source§fn clone(&self) -> Navigation<T>
fn clone(&self) -> Navigation<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§fn eq(&self, other: &Navigation<T>) -> bool
fn eq(&self, other: &Navigation<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
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