pub struct RelationRef { /* private fields */ }Expand description
Relation reference metadata.
Implementations§
Source§impl RelationRef
impl RelationRef
Sourcepub const fn new(name: Option<RelationName>) -> RelationRef
pub const fn new(name: Option<RelationName>) -> RelationRef
Creates relation reference metadata.
Sourcepub const fn name(&self) -> Option<&RelationName>
pub const fn name(&self) -> Option<&RelationName>
Returns the optional relation name.
Trait Implementations§
Source§impl Clone for RelationRef
impl Clone for RelationRef
Source§fn clone(&self) -> RelationRef
fn clone(&self) -> RelationRef
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 Debug for RelationRef
impl Debug for RelationRef
Source§impl Hash for RelationRef
impl Hash for RelationRef
Source§impl Ord for RelationRef
impl Ord for RelationRef
Source§fn cmp(&self, other: &RelationRef) -> Ordering
fn cmp(&self, other: &RelationRef) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RelationRef
impl PartialEq for RelationRef
Source§fn eq(&self, other: &RelationRef) -> bool
fn eq(&self, other: &RelationRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RelationRef
impl PartialOrd for RelationRef
impl Eq for RelationRef
impl StructuralPartialEq for RelationRef
Auto Trait Implementations§
impl Freeze for RelationRef
impl RefUnwindSafe for RelationRef
impl Send for RelationRef
impl Sync for RelationRef
impl Unpin for RelationRef
impl UnsafeUnpin for RelationRef
impl UnwindSafe for RelationRef
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