pub struct StakeRegistry {
pub address: Address,
pub block: u64,
}Expand description
Stake registry contract deployment information.
Fields§
§address: AddressContract address.
block: u64Deployment block number.
Implementations§
Trait Implementations§
Source§impl Clone for StakeRegistry
impl Clone for StakeRegistry
Source§fn clone(&self) -> StakeRegistry
fn clone(&self) -> StakeRegistry
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 moreimpl Copy for StakeRegistry
Source§impl Debug for StakeRegistry
impl Debug for StakeRegistry
impl Eq for StakeRegistry
Source§impl PartialEq for StakeRegistry
impl PartialEq for StakeRegistry
Source§fn eq(&self, other: &StakeRegistry) -> bool
fn eq(&self, other: &StakeRegistry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StakeRegistry
Auto Trait Implementations§
impl Freeze for StakeRegistry
impl RefUnwindSafe for StakeRegistry
impl Send for StakeRegistry
impl Sync for StakeRegistry
impl Unpin for StakeRegistry
impl UnsafeUnpin for StakeRegistry
impl UnwindSafe for StakeRegistry
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