pub struct RelationTypeId(/* private fields */);Expand description
Stable catalog relation-type identifier.
§Performance
Copying, comparing, ordering, and hashing are O(1).
Implementations§
Trait Implementations§
Source§impl Clone for RelationTypeId
impl Clone for RelationTypeId
Source§fn clone(&self) -> RelationTypeId
fn clone(&self) -> RelationTypeId
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 RelationTypeId
Source§impl Debug for RelationTypeId
impl Debug for RelationTypeId
Source§impl<'de> Deserialize<'de> for RelationTypeId
impl<'de> Deserialize<'de> for RelationTypeId
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 RelationTypeId
impl Display for RelationTypeId
impl Eq for RelationTypeId
Source§impl Hash for RelationTypeId
impl Hash for RelationTypeId
Source§impl Ord for RelationTypeId
impl Ord for RelationTypeId
Source§fn cmp(&self, other: &RelationTypeId) -> Ordering
fn cmp(&self, other: &RelationTypeId) -> 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 RelationTypeId
impl PartialEq for RelationTypeId
Source§fn eq(&self, other: &RelationTypeId) -> bool
fn eq(&self, other: &RelationTypeId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RelationTypeId
impl PartialOrd for RelationTypeId
Source§impl Serialize for RelationTypeId
impl Serialize for RelationTypeId
impl StructuralPartialEq for RelationTypeId
Auto Trait Implementations§
impl Freeze for RelationTypeId
impl RefUnwindSafe for RelationTypeId
impl Send for RelationTypeId
impl Sync for RelationTypeId
impl Unpin for RelationTypeId
impl UnsafeUnpin for RelationTypeId
impl UnwindSafe for RelationTypeId
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