pub struct UndelegateData {
pub validator_pubkey: [u8; 32],
pub amount: Balance,
}Expand description
Data for Undelegate operation
Fields§
§validator_pubkey: [u8; 32]Validator public key to undelegate from
amount: BalanceAmount to undelegate
Trait Implementations§
Source§impl Clone for UndelegateData
impl Clone for UndelegateData
Source§fn clone(&self) -> UndelegateData
fn clone(&self) -> UndelegateData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UndelegateData
impl Debug for UndelegateData
Source§impl<'de> Deserialize<'de> for UndelegateData
impl<'de> Deserialize<'de> for UndelegateData
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 for UndelegateData
impl PartialEq for UndelegateData
Source§fn eq(&self, other: &UndelegateData) -> bool
fn eq(&self, other: &UndelegateData) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UndelegateData
impl Serialize for UndelegateData
impl Eq for UndelegateData
impl StructuralPartialEq for UndelegateData
Auto Trait Implementations§
impl Freeze for UndelegateData
impl RefUnwindSafe for UndelegateData
impl Send for UndelegateData
impl Sync for UndelegateData
impl Unpin for UndelegateData
impl UnsafeUnpin for UndelegateData
impl UnwindSafe for UndelegateData
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