pub struct RelationId(/* private fields */);Expand description
Stable canonical relation identifier.
§Performance
Copying, comparing, ordering, and hashing are O(1).
Implementations§
Trait Implementations§
Source§impl Clone for RelationId
impl Clone for RelationId
Source§fn clone(&self) -> RelationId
fn clone(&self) -> RelationId
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 moreimpl Copy for RelationId
Source§impl Debug for RelationId
impl Debug for RelationId
Source§impl<'de> Deserialize<'de> for RelationId
impl<'de> Deserialize<'de> for RelationId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RelationId
impl Display for RelationId
impl Eq for RelationId
Source§impl From<RelationId> for PropertySubject
impl From<RelationId> for PropertySubject
Source§fn from(id: RelationId) -> Self
fn from(id: RelationId) -> Self
Source§impl Hash for RelationId
impl Hash for RelationId
Source§impl Ord for RelationId
impl Ord for RelationId
Source§fn cmp(&self, other: &RelationId) -> Ordering
fn cmp(&self, other: &RelationId) -> 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 RelationId
impl PartialEq for RelationId
Source§fn eq(&self, other: &RelationId) -> bool
fn eq(&self, other: &RelationId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RelationId
impl PartialOrd for RelationId
Source§impl Serialize for RelationId
impl Serialize for RelationId
impl StructuralPartialEq for RelationId
Auto Trait Implementations§
impl Freeze for RelationId
impl RefUnwindSafe for RelationId
impl Send for RelationId
impl Sync for RelationId
impl Unpin for RelationId
impl UnsafeUnpin for RelationId
impl UnwindSafe for RelationId
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