Struct identity_iota::credential::LinkedDomainService
source · pub struct LinkedDomainService { /* private fields */ }
Expand description
A service wrapper for a Linked Domain Service Endpoint.
Implementations§
source§impl LinkedDomainService
impl LinkedDomainService
sourcepub fn new(
did_url: DIDUrl,
domains: impl Into<OrderedSet<Url>>,
properties: BTreeMap<String, Value>
) -> Result<LinkedDomainService, Error>
pub fn new( did_url: DIDUrl, domains: impl Into<OrderedSet<Url>>, properties: BTreeMap<String, Value> ) -> Result<LinkedDomainService, Error>
Constructs a new LinkedDomainService
that wraps a spec compliant Linked Domain Service Endpoint
Domain URLs must include the https
scheme in order to pass the domain linkage validation.
Trait Implementations§
source§impl Clone for LinkedDomainService
impl Clone for LinkedDomainService
source§fn clone(&self) -> LinkedDomainService
fn clone(&self) -> LinkedDomainService
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 LinkedDomainService
impl Debug for LinkedDomainService
source§impl From<LinkedDomainService> for Service
impl From<LinkedDomainService> for Service
source§fn from(service: LinkedDomainService) -> Service
fn from(service: LinkedDomainService) -> Service
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LinkedDomainService
impl RefUnwindSafe for LinkedDomainService
impl Send for LinkedDomainService
impl Sync for LinkedDomainService
impl Unpin for LinkedDomainService
impl UnwindSafe for LinkedDomainService
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