Struct cryptoapis::models::transaction_request_mined_data::TransactionRequestMinedData [−][src]
pub struct TransactionRequestMinedData { pub product: String, pub event: String, pub item: Box<TransactionRequestBroadcastedDataItem>, }
Expand description
TransactionRequestMinedData : 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<TransactionRequestBroadcastedDataItem>
Implementations
pub fn new(
product: String,
event: String,
item: TransactionRequestBroadcastedDataItem
) -> TransactionRequestMinedData
pub fn new(
product: String,
event: String,
item: TransactionRequestBroadcastedDataItem
) -> TransactionRequestMinedData
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 TransactionRequestMinedData
impl Send for TransactionRequestMinedData
impl Sync for TransactionRequestMinedData
impl Unpin for TransactionRequestMinedData
impl UnwindSafe for TransactionRequestMinedData
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more