Struct helium_api::models::BlockData
source · [−]pub struct BlockData {
pub transaction_count: u64,
pub time: u64,
pub snapshot_hash: String,
pub prev_hash: String,
pub height: u64,
pub hash: String,
}
Fields
transaction_count: u64
time: u64
snapshot_hash: String
prev_hash: String
height: u64
hash: String
Trait Implementations
sourceimpl<'de> Deserialize<'de> for BlockData
impl<'de> Deserialize<'de> for BlockData
sourcefn 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 RefUnwindSafe for BlockData
impl Send for BlockData
impl Sync for BlockData
impl Unpin for BlockData
impl UnwindSafe for BlockData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more