pub struct ExternalId(pub u64);Expand description
Opaque L2-supplied external identity. Kernel does not interpret its
contents (Mechanism != Policy). The concrete byte shape is an L2
concern — this newtype carries a u64 for v0.13 and reserves the
option to widen to a fixed-size cryptographic identifier in a future
approximation (deferred [u8; 32] option).
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for ExternalId
impl Clone for ExternalId
Source§fn clone(&self) -> ExternalId
fn clone(&self) -> ExternalId
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 ExternalId
impl Debug for ExternalId
Source§impl<'de> Deserialize<'de> for ExternalId
impl<'de> Deserialize<'de> for ExternalId
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 Hash for ExternalId
impl Hash for ExternalId
Source§impl Ord for ExternalId
impl Ord for ExternalId
Source§fn cmp(&self, other: &ExternalId) -> Ordering
fn cmp(&self, other: &ExternalId) -> 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 ExternalId
impl PartialEq for ExternalId
Source§impl PartialOrd for ExternalId
impl PartialOrd for ExternalId
Source§impl Serialize for ExternalId
impl Serialize for ExternalId
impl Copy for ExternalId
impl Eq for ExternalId
impl StructuralPartialEq for ExternalId
Auto Trait Implementations§
impl Freeze for ExternalId
impl RefUnwindSafe for ExternalId
impl Send for ExternalId
impl Sync for ExternalId
impl Unpin for ExternalId
impl UnsafeUnpin for ExternalId
impl UnwindSafe for ExternalId
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