#[repr(transparent)]pub struct EdgeTypeId(pub u32);Expand description
Unique identifier for an edge type in the catalog.
Edge types are strings that categorize relationships between nodes. The catalog assigns unique IDs for efficient storage.
Tuple Fields§
§0: u32Implementations§
Source§impl EdgeTypeId
impl EdgeTypeId
Trait Implementations§
Source§impl Clone for EdgeTypeId
impl Clone for EdgeTypeId
Source§fn clone(&self) -> EdgeTypeId
fn clone(&self) -> EdgeTypeId
Returns a duplicate of the value. Read more
1.0.0 · 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 EdgeTypeId
impl Debug for EdgeTypeId
Source§impl Default for EdgeTypeId
impl Default for EdgeTypeId
Source§fn default() -> EdgeTypeId
fn default() -> EdgeTypeId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EdgeTypeId
impl<'de> Deserialize<'de> for EdgeTypeId
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 EdgeTypeId
impl Display for EdgeTypeId
Source§impl From<EdgeTypeId> for u32
impl From<EdgeTypeId> for u32
Source§fn from(id: EdgeTypeId) -> Self
fn from(id: EdgeTypeId) -> Self
Converts to this type from the input type.
Source§impl From<u32> for EdgeTypeId
impl From<u32> for EdgeTypeId
Source§impl Hash for EdgeTypeId
impl Hash for EdgeTypeId
Source§impl Ord for EdgeTypeId
impl Ord for EdgeTypeId
Source§fn cmp(&self, other: &EdgeTypeId) -> Ordering
fn cmp(&self, other: &EdgeTypeId) -> Ordering
1.21.0 · 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 EdgeTypeId
impl PartialEq for EdgeTypeId
Source§impl PartialOrd for EdgeTypeId
impl PartialOrd for EdgeTypeId
Source§impl Serialize for EdgeTypeId
impl Serialize for EdgeTypeId
impl Copy for EdgeTypeId
impl Eq for EdgeTypeId
impl StructuralPartialEq for EdgeTypeId
Auto Trait Implementations§
impl Freeze for EdgeTypeId
impl RefUnwindSafe for EdgeTypeId
impl Send for EdgeTypeId
impl Sync for EdgeTypeId
impl Unpin for EdgeTypeId
impl UnwindSafe for EdgeTypeId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.