pub struct OreMinerState {
pub round_id: Option<Option<u64>>,
pub checkpoint_id: Option<Option<u64>>,
pub checkpoint_fee: Option<Option<u64>>,
pub last_claim_ore_at: Option<Option<i64>>,
pub last_claim_sol_at: Option<Option<i64>>,
}Fields§
§round_id: Option<Option<u64>>§checkpoint_id: Option<Option<u64>>§checkpoint_fee: Option<Option<u64>>§last_claim_ore_at: Option<Option<i64>>§last_claim_sol_at: Option<Option<i64>>Trait Implementations§
Source§impl Clone for OreMinerState
impl Clone for OreMinerState
Source§fn clone(&self) -> OreMinerState
fn clone(&self) -> OreMinerState
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 OreMinerState
impl Debug for OreMinerState
Source§impl Default for OreMinerState
impl Default for OreMinerState
Source§fn default() -> OreMinerState
fn default() -> OreMinerState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OreMinerState
impl<'de> Deserialize<'de> for OreMinerState
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 OreMinerState
impl RefUnwindSafe for OreMinerState
impl Send for OreMinerState
impl Sync for OreMinerState
impl Unpin for OreMinerState
impl UnsafeUnpin for OreMinerState
impl UnwindSafe for OreMinerState
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