[][src]Struct caelum_vcdm::proofs::proof::Proof

pub struct Proof {
    pub auth_type: String,
    pub created: String,
    pub verification_method: String,
    pub signature_value: String,
}

Fields

auth_type: Stringcreated: Stringverification_method: Stringsignature_value: String

Methods

impl Proof[src]

pub fn new(
    auth_type: String,
    created: String,
    verification_method: String,
    signature_value: String
) -> Self
[src]

pub fn from_json(json: JsValue) -> Self[src]

pub fn from_claim_and_keys(claim: &Claim, keys: &[u8]) -> Self[src]

pub fn to_str(&self) -> String[src]

pub fn to_json(&self) -> JsValue[src]

Trait Implementations

impl Clone for Proof[src]

impl Default for Proof[src]

impl Debug for Proof[src]

impl Serialize for Proof[src]

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

Auto Trait Implementations

impl Send for Proof

impl Sync for Proof

impl Unpin for Proof

impl UnwindSafe for Proof

impl RefUnwindSafe for Proof

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Clear for T where
    T: InitializableFromZeroed + ?Sized

impl<T> InitializableFromZeroed for T where
    T: Default

impl<T> Same<T> for T

type Output = T

Should always be Self