pub enum CertificateKind {
Show 17 variants
StakeRegistration,
StakeDeregistration,
StakeDelegation,
PoolRegistration,
PoolRetirement,
RegCert,
UnregCert,
VoteDelegCert,
StakeVoteDelegCert,
StakeRegDelegCert,
VoteRegDelegCert,
StakeVoteRegDelegCert,
AuthCommitteeHotCert,
ResignCommitteeColdCert,
RegDrepCert,
UnregDrepCert,
UpdateDrepCert,
}Variants§
StakeRegistration
StakeDeregistration
StakeDelegation
PoolRegistration
PoolRetirement
RegCert
UnregCert
VoteDelegCert
StakeVoteDelegCert
StakeRegDelegCert
VoteRegDelegCert
StakeVoteRegDelegCert
AuthCommitteeHotCert
ResignCommitteeColdCert
RegDrepCert
UnregDrepCert
UpdateDrepCert
Trait Implementations§
Source§impl From<CertificateKind> for JsValue
impl From<CertificateKind> for JsValue
Source§fn from(value: CertificateKind) -> Self
fn from(value: CertificateKind) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for CertificateKind
impl FromWasmAbi for CertificateKind
Source§impl IntoWasmAbi for CertificateKind
impl IntoWasmAbi for CertificateKind
Source§impl OptionFromWasmAbi for CertificateKind
impl OptionFromWasmAbi for CertificateKind
Source§impl OptionIntoWasmAbi for CertificateKind
impl OptionIntoWasmAbi for CertificateKind
Source§impl TryFromJsValue for CertificateKind
impl TryFromJsValue for CertificateKind
Source§fn try_from_js_value(
value: JsValue,
) -> Result<Self, <CertificateKind as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<Self, <CertificateKind as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for CertificateKind
impl VectorFromWasmAbi for CertificateKind
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[CertificateKind]>
Source§impl VectorIntoJsValue for CertificateKind
impl VectorIntoJsValue for CertificateKind
fn vector_into_jsvalue(vector: Box<[CertificateKind]>) -> JsValue
Source§impl VectorIntoWasmAbi for CertificateKind
impl VectorIntoWasmAbi for CertificateKind
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[CertificateKind]>) -> Self::Abi
Source§impl WasmDescribeVector for CertificateKind
impl WasmDescribeVector for CertificateKind
Auto Trait Implementations§
impl Freeze for CertificateKind
impl RefUnwindSafe for CertificateKind
impl Send for CertificateKind
impl Sync for CertificateKind
impl Unpin for CertificateKind
impl UnwindSafe for CertificateKind
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§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.