pub struct DidService {
pub id: String,
pub service_type: String,
pub service_endpoint: String,
}Expand description
Service endpoint metadata from a DID document.
Fields§
§id: StringDID URL for this service.
service_type: StringService type.
service_endpoint: StringEndpoint URL.
Trait Implementations§
Source§impl Clone for DidService
impl Clone for DidService
Source§fn clone(&self) -> DidService
fn clone(&self) -> DidService
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 DidService
impl Debug for DidService
Source§impl<'de> Deserialize<'de> for DidService
impl<'de> Deserialize<'de> for DidService
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
impl Eq for DidService
Source§impl PartialEq for DidService
impl PartialEq for DidService
Source§fn eq(&self, other: &DidService) -> bool
fn eq(&self, other: &DidService) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DidService
impl Serialize for DidService
impl StructuralPartialEq for DidService
Auto Trait Implementations§
impl Freeze for DidService
impl RefUnwindSafe for DidService
impl Send for DidService
impl Sync for DidService
impl Unpin for DidService
impl UnsafeUnpin for DidService
impl UnwindSafe for DidService
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