Struct lethean_api::models::transaction_entity::TransactionEntity [−][src]
pub struct TransactionEntity { pub block_height: f32, pub coinbase: bool, pub confirmations: f32, pub current_height: f32, pub extra: String, pub inputs: Vec<InputsEntity>, pub outputs: Vec<OutputEntity>, }
Fields
block_height: f32
coinbase: bool
confirmations: f32
current_height: f32
extra: String
inputs: Vec<InputsEntity>
outputs: Vec<OutputEntity>
Implementations
pub fn new(
block_height: f32,
coinbase: bool,
confirmations: f32,
current_height: f32,
extra: String,
inputs: Vec<InputsEntity>,
outputs: Vec<OutputEntity>
) -> TransactionEntity
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 TransactionEntity
impl Send for TransactionEntity
impl Sync for TransactionEntity
impl Unpin for TransactionEntity
impl UnwindSafe for TransactionEntity
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more