pub enum PeerServiceEndPointShort {
URI(String),
Map(OneOrMany<PeerServiceEndPointShortMap>),
}
Expand description
DID serviceEndPoint structure in short format
Variants§
URI(String)
Map(OneOrMany<PeerServiceEndPointShortMap>)
Trait Implementations§
Source§impl Clone for PeerServiceEndPointShort
impl Clone for PeerServiceEndPointShort
Source§fn clone(&self) -> PeerServiceEndPointShort
fn clone(&self) -> PeerServiceEndPointShort
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 PeerServiceEndPointShort
impl Debug for PeerServiceEndPointShort
Source§impl<'de> Deserialize<'de> for PeerServiceEndPointShort
impl<'de> Deserialize<'de> for PeerServiceEndPointShort
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<PeerServiceEndPointShort> for PeerServiceEndPointLong
impl From<PeerServiceEndPointShort> for PeerServiceEndPointLong
Source§fn from(service: PeerServiceEndPointShort) -> Self
fn from(service: PeerServiceEndPointShort) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PeerServiceEndPointShort
impl RefUnwindSafe for PeerServiceEndPointShort
impl Send for PeerServiceEndPointShort
impl Sync for PeerServiceEndPointShort
impl Unpin for PeerServiceEndPointShort
impl UnwindSafe for PeerServiceEndPointShort
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