pub struct AbortResponse {
pub payment_intent_id: String,
pub success: bool,
}Expand description
AbortResponse
JSON schema
{
"type": "object",
"required": [
"paymentIntentId",
"success"
],
"properties": {
"paymentIntentId": {
"type": "string"
},
"success": {
"type": "boolean"
}
}
}Fields§
§payment_intent_id: String§success: boolImplementations§
Source§impl AbortResponse
impl AbortResponse
pub fn builder() -> AbortResponse
Trait Implementations§
Source§impl Clone for AbortResponse
impl Clone for AbortResponse
Source§fn clone(&self) -> AbortResponse
fn clone(&self) -> AbortResponse
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 Debug for AbortResponse
impl Debug for AbortResponse
Source§impl<'de> Deserialize<'de> for AbortResponse
impl<'de> Deserialize<'de> for AbortResponse
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
Source§impl From<AbortResponse> for AbortResponse
impl From<AbortResponse> for AbortResponse
Source§fn from(value: AbortResponse) -> Self
fn from(value: AbortResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for AbortResponse
impl Serialize for AbortResponse
Source§impl TryFrom<AbortResponse> for AbortResponse
impl TryFrom<AbortResponse> for AbortResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AbortResponse) -> Result<Self, ConversionError>
fn try_from(value: AbortResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AbortResponse
impl RefUnwindSafe for AbortResponse
impl Send for AbortResponse
impl Sync for AbortResponse
impl Unpin for AbortResponse
impl UnsafeUnpin for AbortResponse
impl UnwindSafe for AbortResponse
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