pub struct ExternalId(pub String);Expand description
External identity as it appears at the federated trust root —
kept generic (string) so per-issuer parsing stays in the integration
layer. The TrustRoot variant disambiguates the grammar.
Tuple Fields§
§0: StringImplementations§
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 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 Display for ExternalId
impl Display for ExternalId
Source§impl From<&str> for ExternalId
impl From<&str> for ExternalId
Source§impl From<String> for ExternalId
impl From<String> for ExternalId
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 (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 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 ==.Source§impl PartialOrd for ExternalId
impl PartialOrd for ExternalId
Source§impl Serialize for ExternalId
impl Serialize 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