[][src]Struct caelum_vcdm::VClaim

pub struct VClaim { /* fields omitted */ }

Methods

impl VClaim[src]

pub fn new() -> Self[src]

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

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

pub fn sign(&self, keys: &[u8]) -> String[src]

pub fn verify(&self, proof: JsValue) -> bool[src]

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

pub fn set_credential_status(self, cs: JsValue) -> Self[src]

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

pub fn set_credential_type(self, types: JsValue) -> Self[src]

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

pub fn set_credential_subject(self, cs: JsValue) -> Self[src]

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

pub fn set_id(self, id: String) -> Self[src]

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

pub fn set_issuance_date(self, issuance_date: String) -> Self[src]

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

pub fn set_issuer(self, issuer: String) -> Self[src]

Trait Implementations

impl From<VClaim> for JsValue[src]

impl RefFromWasmAbi for VClaim[src]

type Abi = u32

The wasm ABI type references to Self are recovered from.

type Anchor = Ref<'static, VClaim>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl FromWasmAbi for VClaim[src]

type Abi = u32

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for VClaim[src]

type Abi = u32

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl WasmDescribe for VClaim[src]

impl OptionFromWasmAbi for VClaim[src]

impl OptionIntoWasmAbi for VClaim[src]

impl RefMutFromWasmAbi for VClaim[src]

type Abi = u32

Same as RefFromWasmAbi::Abi

type Anchor = RefMut<'static, VClaim>

Same as RefFromWasmAbi::Anchor

Auto Trait Implementations

impl !Send for VClaim

impl !Sync for VClaim

impl Unpin for VClaim

impl UnwindSafe for VClaim

impl RefUnwindSafe for VClaim

Blanket Implementations

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

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

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> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

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> Same<T> for T

type Output = T

Should always be Self