pub struct Staking {
pub enable: bool,
pub block_height: u64,
pub validators: Vec<String>,
pub weight: u64,
pub redeem: u64,
pub txs: Vec<String>,
}
Fields§
§enable: bool
enable staking or not
block_height: u64
current block height
validators: Vec<String>
validators at current block height
weight: u64
amount of Native is staking
redeem: u64
amount of redeem en the way
txs: Vec<String>
staking op transactions at current block height
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Staking
impl RefUnwindSafe for Staking
impl Send for Staking
impl Sync for Staking
impl Unpin for Staking
impl UnwindSafe for Staking
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