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