pub enum ExternalId {
System(SmallDetachedStrSpan),
Public(SmallDetachedStrSpan, SmallDetachedStrSpan),
}Expand description
Representation of the ExternalID value.
Variants§
System(SmallDetachedStrSpan)
Public(SmallDetachedStrSpan, SmallDetachedStrSpan)
Trait 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 (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 ExternalId
Source§impl Debug for ExternalId
impl Debug for ExternalId
impl Eq for ExternalId
Source§impl Hash for ExternalId
impl Hash for ExternalId
Source§impl PartialEq for ExternalId
impl PartialEq for ExternalId
Source§fn eq(&self, other: &ExternalId) -> bool
fn eq(&self, other: &ExternalId) -> bool
Tests for
self and other values to be equal, and is used by ==.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