Struct did_toolkit::document::ServiceEndpoint
source · pub struct ServiceEndpoint {
pub id: Url,
pub typ: ServiceTypes,
pub endpoint: ServiceEndpoints,
}Fields§
§id: Url§typ: ServiceTypes§endpoint: ServiceEndpointsTrait Implementations§
source§impl Clone for ServiceEndpoint
impl Clone for ServiceEndpoint
source§fn clone(&self) -> ServiceEndpoint
fn clone(&self) -> ServiceEndpoint
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 ServiceEndpoint
impl Debug for ServiceEndpoint
source§impl<'de> Deserialize<'de> for ServiceEndpoint
impl<'de> Deserialize<'de> for ServiceEndpoint
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 Hash for ServiceEndpoint
impl Hash for ServiceEndpoint
source§impl Ord for ServiceEndpoint
impl Ord for ServiceEndpoint
source§fn cmp(&self, other: &ServiceEndpoint) -> Ordering
fn cmp(&self, other: &ServiceEndpoint) -> 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<ServiceEndpoint> for ServiceEndpoint
impl PartialEq<ServiceEndpoint> for ServiceEndpoint
source§fn eq(&self, other: &ServiceEndpoint) -> bool
fn eq(&self, other: &ServiceEndpoint) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ServiceEndpoint> for ServiceEndpoint
impl PartialOrd<ServiceEndpoint> for ServiceEndpoint
source§fn partial_cmp(&self, other: &ServiceEndpoint) -> Option<Ordering>
fn partial_cmp(&self, other: &ServiceEndpoint) -> 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 ServiceEndpoint
impl Serialize for ServiceEndpoint
impl Eq for ServiceEndpoint
impl StructuralEq for ServiceEndpoint
impl StructuralPartialEq for ServiceEndpoint
Auto Trait Implementations§
impl RefUnwindSafe for ServiceEndpoint
impl Send for ServiceEndpoint
impl Sync for ServiceEndpoint
impl Unpin for ServiceEndpoint
impl UnwindSafe for ServiceEndpoint
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.