pub struct BlockStatistic {
pub timestamp: u64,
pub difficulty: u64,
}Expand description
難易度を決めるのに見る、1つのブロックのタイムスタンプと難易度。catapult の state::BlockStatistic
Fields§
§timestamp: u64ネメシスのブロックからのミリ秒
difficulty: u64Trait Implementations§
Source§impl Clone for BlockStatistic
impl Clone for BlockStatistic
Source§fn clone(&self) -> BlockStatistic
fn clone(&self) -> BlockStatistic
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 BlockStatistic
Source§impl Debug for BlockStatistic
impl Debug for BlockStatistic
impl Eq for BlockStatistic
Source§impl From<&Block> for BlockStatistic
impl From<&Block> for BlockStatistic
Source§impl PartialEq for BlockStatistic
impl PartialEq for BlockStatistic
impl StructuralPartialEq for BlockStatistic
Auto Trait Implementations§
impl Freeze for BlockStatistic
impl RefUnwindSafe for BlockStatistic
impl Send for BlockStatistic
impl Sync for BlockStatistic
impl Unpin for BlockStatistic
impl UnsafeUnpin for BlockStatistic
impl UnwindSafe for BlockStatistic
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