pub struct CreateCustomerCardResponse {
pub errors: Option<Vec<Error>>,
pub card: Option<Box<Card>>,
}Expand description
CreateCustomerCardResponse : Defines the fields that are included in the response body of a request to the CreateCustomerCard endpoint. Either errors or card is present in a given response (never both).
Fields§
§errors: Option<Vec<Error>>Any errors that occurred during the request.
card: Option<Box<Card>>Implementations§
Source§impl CreateCustomerCardResponse
impl CreateCustomerCardResponse
Sourcepub fn new() -> CreateCustomerCardResponse
pub fn new() -> CreateCustomerCardResponse
Defines the fields that are included in the response body of a request to the CreateCustomerCard endpoint. Either errors or card is present in a given response (never both).
Trait Implementations§
Source§impl Clone for CreateCustomerCardResponse
impl Clone for CreateCustomerCardResponse
Source§fn clone(&self) -> CreateCustomerCardResponse
fn clone(&self) -> CreateCustomerCardResponse
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 CreateCustomerCardResponse
impl Debug for CreateCustomerCardResponse
Source§impl Default for CreateCustomerCardResponse
impl Default for CreateCustomerCardResponse
Source§fn default() -> CreateCustomerCardResponse
fn default() -> CreateCustomerCardResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateCustomerCardResponse
impl<'de> Deserialize<'de> for CreateCustomerCardResponse
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
impl StructuralPartialEq for CreateCustomerCardResponse
Auto Trait Implementations§
impl Freeze for CreateCustomerCardResponse
impl RefUnwindSafe for CreateCustomerCardResponse
impl Send for CreateCustomerCardResponse
impl Sync for CreateCustomerCardResponse
impl Unpin for CreateCustomerCardResponse
impl UnsafeUnpin for CreateCustomerCardResponse
impl UnwindSafe for CreateCustomerCardResponse
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