Struct cryptoapis::models::broadcast_transaction_success_data::BroadcastTransactionSuccessData [−][src]
pub struct BroadcastTransactionSuccessData {
pub product: String,
pub event: String,
pub item: Box<BroadcastTransactionSuccessDataItem>,
}
Expand description
BroadcastTransactionSuccessData : 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<BroadcastTransactionSuccessDataItem>
Implementations
pub fn new(
product: String,
event: String,
item: BroadcastTransactionSuccessDataItem
) -> BroadcastTransactionSuccessData
pub fn new(
product: String,
event: String,
item: BroadcastTransactionSuccessDataItem
) -> BroadcastTransactionSuccessData
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 Send for BroadcastTransactionSuccessData
impl Sync for BroadcastTransactionSuccessData
impl Unpin for BroadcastTransactionSuccessData
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more