pub struct DIDResolutionOptions {
pub accept: Option<MediaType>,
pub no_cache: Option<bool>,
pub additional_properties: Option<HashMap<String, Value>>,
}Expand description
DID Resolution Options.
Formerly known as “DID resolution input metadata”, they provide additional configuration for the DID resolution process.
See <https://www.w3.org/TR/did-core/#did-resolution-options>
Fields§
§accept: Option<MediaType>§no_cache: Option<bool>§additional_properties: Option<HashMap<String, Value>>Trait Implementations§
Source§impl Clone for DIDResolutionOptions
impl Clone for DIDResolutionOptions
Source§fn clone(&self) -> DIDResolutionOptions
fn clone(&self) -> DIDResolutionOptions
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 DIDResolutionOptions
impl Debug for DIDResolutionOptions
Source§impl Default for DIDResolutionOptions
impl Default for DIDResolutionOptions
Source§fn default() -> DIDResolutionOptions
fn default() -> DIDResolutionOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DIDResolutionOptions
impl<'de> Deserialize<'de> for DIDResolutionOptions
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
Auto Trait Implementations§
impl Freeze for DIDResolutionOptions
impl RefUnwindSafe for DIDResolutionOptions
impl Send for DIDResolutionOptions
impl Sync for DIDResolutionOptions
impl Unpin for DIDResolutionOptions
impl UnwindSafe for DIDResolutionOptions
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