[−][src]Struct caelum_vcdm::VClaim
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
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
[src]
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
unsafe fn from_abi(js: u32) -> Self
[src]
impl IntoWasmAbi for VClaim
[src]
type Abi = u32
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self) -> u32
[src]
impl WasmDescribe for VClaim
[src]
impl OptionFromWasmAbi for VClaim
[src]
impl OptionIntoWasmAbi for VClaim
[src]
impl RefMutFromWasmAbi for VClaim
[src]
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]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
[src]
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Same<T> for T
type Output = T
Should always be Self