pub struct AbortBody {
pub payment_intent_id: AbortBodyPaymentIntentId,
pub reason: Option<String>,
}Expand description
AbortBody
JSON schema
{
"type": "object",
"required": [
"paymentIntentId"
],
"properties": {
"paymentIntentId": {
"type": "string",
"minLength": 1
},
"reason": {
"type": "string"
}
}
}Fields§
§payment_intent_id: AbortBodyPaymentIntentId§reason: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AbortBody
impl<'de> Deserialize<'de> for AbortBody
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 AbortBody
impl RefUnwindSafe for AbortBody
impl Send for AbortBody
impl Sync for AbortBody
impl Unpin for AbortBody
impl UnsafeUnpin for AbortBody
impl UnwindSafe for AbortBody
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