Enum cml_chain_wasm::governance::GovActionKind
source · pub enum GovActionKind {
ParameterChangeAction,
HardForkInitiationAction,
TreasuryWithdrawalsAction,
NoConfidence,
UpdateCommittee,
NewConstitution,
InfoAction,
}Variants§
ParameterChangeAction
HardForkInitiationAction
TreasuryWithdrawalsAction
NoConfidence
UpdateCommittee
NewConstitution
InfoAction
Trait Implementations§
source§impl FromWasmAbi for GovActionKind
impl FromWasmAbi for GovActionKind
source§impl IntoWasmAbi for GovActionKind
impl IntoWasmAbi for GovActionKind
source§impl OptionFromWasmAbi for GovActionKind
impl OptionFromWasmAbi for GovActionKind
source§impl OptionIntoWasmAbi for GovActionKind
impl OptionIntoWasmAbi for GovActionKind
Auto Trait Implementations§
impl Freeze for GovActionKind
impl RefUnwindSafe for GovActionKind
impl Send for GovActionKind
impl Sync for GovActionKind
impl Unpin for GovActionKind
impl UnwindSafe for GovActionKind
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,
§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.