pub struct GenericVerificationMethod {
pub id: IriBuf,
pub type_: String,
pub controller: UriBuf,
pub properties: BTreeMap<String, Value>,
}
Expand description
Generic verification method.
Fields§
§id: IriBuf
Identifier.
type_: String
Type name.
controller: UriBuf
Method controller.
properties: BTreeMap<String, Value>
Other properties.
Trait Implementations§
Source§impl Clone for GenericVerificationMethod
impl Clone for GenericVerificationMethod
Source§fn clone(&self) -> GenericVerificationMethod
fn clone(&self) -> GenericVerificationMethod
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 GenericVerificationMethod
impl Debug for GenericVerificationMethod
Source§impl<'de> Deserialize<'de> for GenericVerificationMethod
impl<'de> Deserialize<'de> for GenericVerificationMethod
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 TypedVerificationMethod for GenericVerificationMethod
impl TypedVerificationMethod for GenericVerificationMethod
fn type_(&self) -> &str
fn expected_type() -> Option<ExpectedType>
fn type_match(_ty: &str) -> bool
impl Eq for GenericVerificationMethod
impl StructuralPartialEq for GenericVerificationMethod
Auto Trait Implementations§
impl Freeze for GenericVerificationMethod
impl RefUnwindSafe for GenericVerificationMethod
impl Send for GenericVerificationMethod
impl Sync for GenericVerificationMethod
impl Unpin for GenericVerificationMethod
impl UnwindSafe for GenericVerificationMethod
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<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'de, T, C> DeserializeTyped<'de, C> for Twhere
T: Deserialize<'de>,
impl<'de, T, C> DeserializeTyped<'de, C> for Twhere
T: Deserialize<'de>,
fn deserialize_typed<S>(
_: &C,
deserializer: S,
) -> Result<T, <S as Deserializer<'de>>::Error>where
S: Deserializer<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
fn equivalent(&self, key: &K) -> bool
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T
.