Struct lethean_api::models::block_entity::BlockEntity [−][src]
pub struct BlockEntity { pub block_height: f32, pub current_height: f32, pub hash: String, pub size: f32, pub timestamp: f32, pub timestamp_utc: String, pub txs: Vec<TxnEntity>, }
Fields
block_height: f32
current_height: f32
hash: String
size: f32
timestamp: f32
timestamp_utc: String
txs: Vec<TxnEntity>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BlockEntity
impl Send for BlockEntity
impl Sync for BlockEntity
impl Unpin for BlockEntity
impl UnwindSafe for BlockEntity
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more