pub struct GetPaymentMethodsResponse {
pub payment_methods: Option<Vec<PaymentMethodDetails>>,
}Expand description
GetPaymentMethodsResponse : The response schema for the getPaymentMethods operation.
Fields§
§payment_methods: Option<Vec<PaymentMethodDetails>>The list of payment methods with payment method details.
Implementations§
Source§impl GetPaymentMethodsResponse
impl GetPaymentMethodsResponse
Sourcepub fn new() -> GetPaymentMethodsResponse
pub fn new() -> GetPaymentMethodsResponse
The response schema for the getPaymentMethods operation.
Trait Implementations§
Source§impl Clone for GetPaymentMethodsResponse
impl Clone for GetPaymentMethodsResponse
Source§fn clone(&self) -> GetPaymentMethodsResponse
fn clone(&self) -> GetPaymentMethodsResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 GetPaymentMethodsResponse
impl Debug for GetPaymentMethodsResponse
Source§impl Default for GetPaymentMethodsResponse
impl Default for GetPaymentMethodsResponse
Source§fn default() -> GetPaymentMethodsResponse
fn default() -> GetPaymentMethodsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetPaymentMethodsResponse
impl<'de> Deserialize<'de> for GetPaymentMethodsResponse
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 GetPaymentMethodsResponse
Auto Trait Implementations§
impl Freeze for GetPaymentMethodsResponse
impl RefUnwindSafe for GetPaymentMethodsResponse
impl Send for GetPaymentMethodsResponse
impl Sync for GetPaymentMethodsResponse
impl Unpin for GetPaymentMethodsResponse
impl UnsafeUnpin for GetPaymentMethodsResponse
impl UnwindSafe for GetPaymentMethodsResponse
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