pub enum VoterKind {
ConstitutionalCommitteeHotKeyHash,
ConstitutionalCommitteeHotScriptHash,
DRepKeyHash,
DRepScriptHash,
StakingPoolKeyHash,
}Variants§
ConstitutionalCommitteeHotKeyHash
ConstitutionalCommitteeHotScriptHash
DRepKeyHash
DRepScriptHash
StakingPoolKeyHash
Trait Implementations§
Source§impl FromWasmAbi for VoterKind
impl FromWasmAbi for VoterKind
Source§impl IntoWasmAbi for VoterKind
impl IntoWasmAbi for VoterKind
Source§impl OptionFromWasmAbi for VoterKind
impl OptionFromWasmAbi for VoterKind
Source§impl OptionIntoWasmAbi for VoterKind
impl OptionIntoWasmAbi for VoterKind
Source§impl TryFromJsValue for VoterKind
impl TryFromJsValue for VoterKind
Source§impl VectorFromWasmAbi for VoterKind
impl VectorFromWasmAbi for VoterKind
Source§impl VectorIntoWasmAbi for VoterKind
impl VectorIntoWasmAbi for VoterKind
Auto Trait Implementations§
impl Freeze for VoterKind
impl RefUnwindSafe for VoterKind
impl Send for VoterKind
impl Sync for VoterKind
impl Unpin for VoterKind
impl UnwindSafe for VoterKind
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.