pub struct WebhookPaymentDisbursedDataPayment {
pub amount: String,
pub completion_fee: Option<String>,
pub disbursement_method: Option<String>,
pub disbursement_ref: Option<String>,
pub net_amount: String,
}Expand description
WebhookPaymentDisbursedDataPayment
JSON schema
{
"type": "object",
"required": [
"amount",
"completion_fee",
"net_amount"
],
"properties": {
"amount": {
"examples": [
"100.00"
],
"type": "string"
},
"completion_fee": {
"examples": [
"10.00"
],
"type": [
"string",
"null"
]
},
"disbursement_method": {
"examples": [
"tempo_wallet"
],
"type": [
"string",
"null"
]
},
"disbursement_ref": {
"examples": [
"tx_123"
],
"type": [
"string",
"null"
]
},
"net_amount": {
"examples": [
"90.00"
],
"type": "string"
}
}
}Fields§
§amount: String§completion_fee: Option<String>§disbursement_method: Option<String>§disbursement_ref: Option<String>§net_amount: StringTrait Implementations§
Source§impl Clone for WebhookPaymentDisbursedDataPayment
impl Clone for WebhookPaymentDisbursedDataPayment
Source§fn clone(&self) -> WebhookPaymentDisbursedDataPayment
fn clone(&self) -> WebhookPaymentDisbursedDataPayment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for WebhookPaymentDisbursedDataPayment
impl<'de> Deserialize<'de> for WebhookPaymentDisbursedDataPayment
Source§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
Auto Trait Implementations§
impl Freeze for WebhookPaymentDisbursedDataPayment
impl RefUnwindSafe for WebhookPaymentDisbursedDataPayment
impl Send for WebhookPaymentDisbursedDataPayment
impl Sync for WebhookPaymentDisbursedDataPayment
impl Unpin for WebhookPaymentDisbursedDataPayment
impl UnsafeUnpin for WebhookPaymentDisbursedDataPayment
impl UnwindSafe for WebhookPaymentDisbursedDataPayment
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more