pub enum PendingEpochEventKind {
Delegate {
owner: Addr,
mix_id: MixId,
amount: Coin,
proxy: Option<Addr>,
},
Undelegate {
owner: Addr,
mix_id: MixId,
proxy: Option<Addr>,
},
PledgeMore {
mix_id: MixId,
amount: Coin,
},
DecreasePledge {
mix_id: MixId,
decrease_by: Coin,
},
UnbondMixnode {
mix_id: MixId,
},
UpdateActiveSetSize {
new_size: u32,
},
}
Variants§
Implementations§
source§impl PendingEpochEventKind
impl PendingEpochEventKind
pub fn attach_source_height( self, created_at: BlockHeight ) -> PendingEpochEventData
Trait Implementations§
source§impl Clone for PendingEpochEventKind
impl Clone for PendingEpochEventKind
source§fn clone(&self) -> PendingEpochEventKind
fn clone(&self) -> PendingEpochEventKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PendingEpochEventKind
impl Debug for PendingEpochEventKind
source§impl<'de> Deserialize<'de> for PendingEpochEventKind
impl<'de> Deserialize<'de> for PendingEpochEventKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<PendingEpochEventKind> for PendingEpochEventKind
impl PartialEq<PendingEpochEventKind> for PendingEpochEventKind
source§fn eq(&self, other: &PendingEpochEventKind) -> bool
fn eq(&self, other: &PendingEpochEventKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PendingEpochEventKind
impl Serialize for PendingEpochEventKind
impl StructuralPartialEq for PendingEpochEventKind
Auto Trait Implementations§
impl RefUnwindSafe for PendingEpochEventKind
impl Send for PendingEpochEventKind
impl Sync for PendingEpochEventKind
impl Unpin for PendingEpochEventKind
impl UnwindSafe for PendingEpochEventKind
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