Struct cryptoapis::models::transaction_mined_data::TransactionMinedData [−][src]
pub struct TransactionMinedData { pub product: String, pub event: String, pub item: Box<TransactionMinedDataItem>, }
Expand description
TransactionMinedData : Specifies all data, as attributes, included into the callback notification, which depends on the event
.
Fields
product: String
Represents the Crypto APIs 2.0 product which sends the callback.
event: String
Defines the specific event, for which a callback subscription is set.
item: Box<TransactionMinedDataItem>
Implementations
pub fn new(
product: String,
event: String,
item: TransactionMinedDataItem
) -> TransactionMinedData
pub fn new(
product: String,
event: String,
item: TransactionMinedDataItem
) -> TransactionMinedData
Specifies all data, as attributes, included into the callback notification, which depends on the event
.
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 TransactionMinedData
impl Send for TransactionMinedData
impl Sync for TransactionMinedData
impl Unpin for TransactionMinedData
impl UnwindSafe for TransactionMinedData
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more