pub struct WithdrawUnbondedData {
pub validator_pubkey: Option<[u8; 32]>,
}Expand description
Data for WithdrawUnbonded operation
Fields§
§validator_pubkey: Option<[u8; 32]>Validator public key (optional - if None, withdraw all)
Trait Implementations§
Source§impl Clone for WithdrawUnbondedData
impl Clone for WithdrawUnbondedData
Source§fn clone(&self) -> WithdrawUnbondedData
fn clone(&self) -> WithdrawUnbondedData
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 WithdrawUnbondedData
impl Debug for WithdrawUnbondedData
Source§impl<'de> Deserialize<'de> for WithdrawUnbondedData
impl<'de> Deserialize<'de> for WithdrawUnbondedData
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 WithdrawUnbondedData
impl PartialEq for WithdrawUnbondedData
Source§fn eq(&self, other: &WithdrawUnbondedData) -> bool
fn eq(&self, other: &WithdrawUnbondedData) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WithdrawUnbondedData
impl Serialize for WithdrawUnbondedData
impl Eq for WithdrawUnbondedData
impl StructuralPartialEq for WithdrawUnbondedData
Auto Trait Implementations§
impl Freeze for WithdrawUnbondedData
impl RefUnwindSafe for WithdrawUnbondedData
impl Send for WithdrawUnbondedData
impl Sync for WithdrawUnbondedData
impl Unpin for WithdrawUnbondedData
impl UnsafeUnpin for WithdrawUnbondedData
impl UnwindSafe for WithdrawUnbondedData
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