pub enum PeerServiceEndPointLong {
URI(String),
Map(OneOrMany<PeerServiceEndPointLongMap>),
}
Expand description
DID serviceEndPoint structure in long format
Variants§
URI(String)
Map(OneOrMany<PeerServiceEndPointLongMap>)
Trait Implementations§
Source§impl Clone for PeerServiceEndPointLong
impl Clone for PeerServiceEndPointLong
Source§fn clone(&self) -> PeerServiceEndPointLong
fn clone(&self) -> PeerServiceEndPointLong
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 PeerServiceEndPointLong
impl Debug for PeerServiceEndPointLong
Source§impl<'de> Deserialize<'de> for PeerServiceEndPointLong
impl<'de> Deserialize<'de> for PeerServiceEndPointLong
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 PeerServiceEndPointLong
impl RefUnwindSafe for PeerServiceEndPointLong
impl Send for PeerServiceEndPointLong
impl Sync for PeerServiceEndPointLong
impl Unpin for PeerServiceEndPointLong
impl UnwindSafe for PeerServiceEndPointLong
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