pub struct ChainStatistics {
pub height: u64,
pub finalized_height: u64,
pub score: u128,
}Expand description
Chain_Statistics の応答。
Fields§
§height: u64§finalized_height: u64§score: u128catapult では ScoreHigh と ScoreLow の2つの u64 に分けて送られる
Implementations§
Trait Implementations§
Source§impl Clone for ChainStatistics
impl Clone for ChainStatistics
Source§fn clone(&self) -> ChainStatistics
fn clone(&self) -> ChainStatistics
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 ChainStatistics
Source§impl Debug for ChainStatistics
impl Debug for ChainStatistics
impl Eq for ChainStatistics
Source§impl PartialEq for ChainStatistics
impl PartialEq for ChainStatistics
impl StructuralPartialEq for ChainStatistics
Auto Trait Implementations§
impl Freeze for ChainStatistics
impl RefUnwindSafe for ChainStatistics
impl Send for ChainStatistics
impl Sync for ChainStatistics
impl Unpin for ChainStatistics
impl UnsafeUnpin for ChainStatistics
impl UnwindSafe for ChainStatistics
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