[][src]Struct didkit::LinkedDataProofOptions

pub struct LinkedDataProofOptions {
    pub verification_method: Option<String>,
    pub proof_purpose: Option<ProofPurpose>,
    pub created: Option<DateTime<Utc>>,
    pub challenge: Option<String>,
    pub domain: Option<String>,
    pub checks: Option<Vec<Check, Global>>,

Options for specifying how the LinkedDataProof is created. Reference: vc-http-api


verification_method: Option<String>

The URI of the verificationMethod used for the proof. If omitted a default assertionMethod will be used.

proof_purpose: Option<ProofPurpose>

The purpose of the proof. If omitted "assertionMethod" will be used.

created: Option<DateTime<Utc>>

The date of the proof. If omitted system time will be used.

challenge: Option<String>

The challenge of the proof.

domain: Option<String>

The domain of the proof.

checks: Option<Vec<Check, Global>>

Checks to perform

Trait Implementations

impl Clone for LinkedDataProofOptions[src]

impl Debug for LinkedDataProofOptions[src]

impl Default for LinkedDataProofOptions[src]

impl<'de> Deserialize<'de> for LinkedDataProofOptions[src]

impl Serialize for LinkedDataProofOptions[src]

Auto Trait Implementations

impl RefUnwindSafe for LinkedDataProofOptions[src]

impl Send for LinkedDataProofOptions[src]

impl Sync for LinkedDataProofOptions[src]

impl Unpin for LinkedDataProofOptions[src]

impl UnwindSafe for LinkedDataProofOptions[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<'a, T> Desc<'a, T> for T

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToOwned for T

type Owned = T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,