Enum atrium_api::types::string::AtIdentifier
source · pub enum AtIdentifier {
Did(Did),
Handle(Handle),
}
Expand description
An AT Protocol identifier.
Variants§
Trait Implementations§
source§impl AsRef<str> for AtIdentifier
impl AsRef<str> for AtIdentifier
source§impl Clone for AtIdentifier
impl Clone for AtIdentifier
source§fn clone(&self) -> AtIdentifier
fn clone(&self) -> AtIdentifier
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 Debug for AtIdentifier
impl Debug for AtIdentifier
source§impl<'de> Deserialize<'de> for AtIdentifier
impl<'de> Deserialize<'de> for AtIdentifier
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 From<Did> for AtIdentifier
impl From<Did> for AtIdentifier
source§impl From<Handle> for AtIdentifier
impl From<Handle> for AtIdentifier
source§impl FromStr for AtIdentifier
impl FromStr for AtIdentifier
source§impl Into<String> for AtIdentifier
impl Into<String> for AtIdentifier
source§impl PartialEq for AtIdentifier
impl PartialEq for AtIdentifier
source§fn eq(&self, other: &AtIdentifier) -> bool
fn eq(&self, other: &AtIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AtIdentifier
impl Serialize for AtIdentifier
impl Eq for AtIdentifier
impl StructuralPartialEq for AtIdentifier
Auto Trait Implementations§
impl RefUnwindSafe for AtIdentifier
impl Send for AtIdentifier
impl Sync for AtIdentifier
impl Unpin for AtIdentifier
impl UnwindSafe for AtIdentifier
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