pub struct PoolCalidusKey {
pub id: String,
pub pub_key: String,
pub nonce: i32,
pub tx_hash: String,
pub block_height: i32,
pub block_time: i32,
pub epoch: i32,
}Expand description
PoolCalidusKey : Last valid Calidus key for the pool
Fields§
§id: StringA Bech32-encoded identifier derived from the calidus public key
pub_key: StringThe raw hexadecimal-encoded calidus public key used for verification purposes
nonce: i32A unique number used once to prevent replay attacks and ensure the uniqueness of the key registration
tx_hash: StringThe transaction hash that submitted the Calidus key registration
block_height: i32The block height at which this key registration was recorded
block_time: i32Block time of the key registration
epoch: i32Epoch number of the key registration
Implementations§
Trait Implementations§
Source§impl Clone for PoolCalidusKey
impl Clone for PoolCalidusKey
Source§fn clone(&self) -> PoolCalidusKey
fn clone(&self) -> PoolCalidusKey
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 PoolCalidusKey
impl Debug for PoolCalidusKey
Source§impl Default for PoolCalidusKey
impl Default for PoolCalidusKey
Source§fn default() -> PoolCalidusKey
fn default() -> PoolCalidusKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PoolCalidusKey
impl<'de> Deserialize<'de> for PoolCalidusKey
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 PoolCalidusKey
impl PartialEq for PoolCalidusKey
Source§impl Serialize for PoolCalidusKey
impl Serialize for PoolCalidusKey
impl StructuralPartialEq for PoolCalidusKey
Auto Trait Implementations§
impl Freeze for PoolCalidusKey
impl RefUnwindSafe for PoolCalidusKey
impl Send for PoolCalidusKey
impl Sync for PoolCalidusKey
impl Unpin for PoolCalidusKey
impl UnwindSafe for PoolCalidusKey
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