Enum did_toolkit::document::ServiceType
source · pub enum ServiceType {
CredentialRegistry,
LinkedDomains,
}Expand description
It’s important to note here that the document that describes these is not very well formed. https://www.w3.org/TR/did-spec-registries/#service-types
Variants§
Trait Implementations§
source§impl Clone for ServiceType
impl Clone for ServiceType
source§fn clone(&self) -> ServiceType
fn clone(&self) -> ServiceType
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 ServiceType
impl Debug for ServiceType
source§impl Display for ServiceType
impl Display for ServiceType
source§impl FromStr for ServiceType
impl FromStr for ServiceType
source§impl Hash for ServiceType
impl Hash for ServiceType
source§impl Ord for ServiceType
impl Ord for ServiceType
source§fn cmp(&self, other: &ServiceType) -> Ordering
fn cmp(&self, other: &ServiceType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ServiceType> for ServiceType
impl PartialEq<ServiceType> for ServiceType
source§fn eq(&self, other: &ServiceType) -> bool
fn eq(&self, other: &ServiceType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ServiceType> for ServiceType
impl PartialOrd<ServiceType> for ServiceType
source§fn partial_cmp(&self, other: &ServiceType) -> Option<Ordering>
fn partial_cmp(&self, other: &ServiceType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for ServiceType
impl Serialize for ServiceType
impl Eq for ServiceType
impl StructuralEq for ServiceType
impl StructuralPartialEq for ServiceType
Auto Trait Implementations§
impl RefUnwindSafe for ServiceType
impl Send for ServiceType
impl Sync for ServiceType
impl Unpin for ServiceType
impl UnwindSafe for ServiceType
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.