pub struct StakeEntry {
pub amount: u64,
}Expand description
A single delegation entry from a staker to a validator.
Fields§
§amount: u64Trait Implementations§
Source§impl Clone for StakeEntry
impl Clone for StakeEntry
Source§fn clone(&self) -> StakeEntry
fn clone(&self) -> StakeEntry
Returns a duplicate 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 StakeEntry
impl Debug for StakeEntry
Source§impl<'de> Deserialize<'de> for StakeEntry
impl<'de> Deserialize<'de> for StakeEntry
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
Auto Trait Implementations§
impl Freeze for StakeEntry
impl RefUnwindSafe for StakeEntry
impl Send for StakeEntry
impl Sync for StakeEntry
impl Unpin for StakeEntry
impl UnsafeUnpin for StakeEntry
impl UnwindSafe for StakeEntry
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