pub enum ExternalId<'a> {
System(StrSpan<'a>),
Public(StrSpan<'a>, StrSpan<'a>),
}
Expand description
Representation of the ExternalID value.
Variants§
Trait Implementations§
Source§impl<'a> Clone for ExternalId<'a>
impl<'a> Clone for ExternalId<'a>
Source§fn clone(&self) -> ExternalId<'a>
fn clone(&self) -> ExternalId<'a>
Returns a copy 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<'a> Debug for ExternalId<'a>
impl<'a> Debug for ExternalId<'a>
Source§impl<'a> Hash for ExternalId<'a>
impl<'a> Hash for ExternalId<'a>
Source§impl<'a> PartialEq for ExternalId<'a>
impl<'a> PartialEq for ExternalId<'a>
impl<'a> Copy for ExternalId<'a>
impl<'a> Eq for ExternalId<'a>
impl<'a> StructuralPartialEq for ExternalId<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExternalId<'a>
impl<'a> RefUnwindSafe for ExternalId<'a>
impl<'a> Send for ExternalId<'a>
impl<'a> Sync for ExternalId<'a>
impl<'a> Unpin for ExternalId<'a>
impl<'a> UnwindSafe for ExternalId<'a>
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