Struct wallet_wasm_js::Certificate
source · pub struct Certificate(pub(crate) Certificate);
Tuple Fields§
§0: Certificate
Implementations§
source§impl Certificate
impl Certificate
pub fn vote_cast(vote_cast: VoteCast) -> Certificate
Trait Implementations§
source§impl From<Certificate> for JsValue
impl From<Certificate> for JsValue
source§fn from(value: Certificate) -> Self
fn from(value: Certificate) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for Certificate
impl FromWasmAbi for Certificate
source§impl IntoWasmAbi for Certificate
impl IntoWasmAbi for Certificate
source§impl LongRefFromWasmAbi for Certificate
impl LongRefFromWasmAbi for Certificate
source§impl OptionFromWasmAbi for Certificate
impl OptionFromWasmAbi for Certificate
source§impl OptionIntoWasmAbi for Certificate
impl OptionIntoWasmAbi for Certificate
source§impl RefFromWasmAbi for Certificate
impl RefFromWasmAbi for Certificate
§type Anchor = Ref<'static, Certificate>
type Anchor = Ref<'static, Certificate>
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.source§impl RefMutFromWasmAbi for Certificate
impl RefMutFromWasmAbi for Certificate
source§impl WasmDescribe for Certificate
impl WasmDescribe for Certificate
Auto Trait Implementations§
impl RefUnwindSafe for Certificate
impl Send for Certificate
impl Sync for Certificate
impl Unpin for Certificate
impl UnwindSafe for Certificate
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.