pub struct ListPaymentMethodsResponse {
pub next_page_token: Option<String>,
pub payment_methods: Vec<PaymentMethodsPaymentMethod>,
}Expand description
ListPaymentMethodsResponse
JSON schema
{
"allOf": [
{
"type": "object",
"required": [
"paymentMethods"
],
"properties": {
"paymentMethods": {
"description": "The list of payment methods.",
"type": "array",
"items": {
"$ref": "#/components/schemas/payment-methods_PaymentMethod"
}
}
}
},
{
"$ref": "#/components/schemas/ListResponse"
}
]
}Fields§
§next_page_token: Option<String>The token for the next page of items, if any.
payment_methods: Vec<PaymentMethodsPaymentMethod>The list of payment methods.
Implementations§
Source§impl ListPaymentMethodsResponse
impl ListPaymentMethodsResponse
pub fn builder() -> ListPaymentMethodsResponse
Trait Implementations§
Source§impl Clone for ListPaymentMethodsResponse
impl Clone for ListPaymentMethodsResponse
Source§fn clone(&self) -> ListPaymentMethodsResponse
fn clone(&self) -> ListPaymentMethodsResponse
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 ListPaymentMethodsResponse
impl Debug for ListPaymentMethodsResponse
Source§impl<'de> Deserialize<'de> for ListPaymentMethodsResponse
impl<'de> Deserialize<'de> for ListPaymentMethodsResponse
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<&ListPaymentMethodsResponse> for ListPaymentMethodsResponse
impl From<&ListPaymentMethodsResponse> for ListPaymentMethodsResponse
Source§fn from(value: &ListPaymentMethodsResponse) -> Self
fn from(value: &ListPaymentMethodsResponse) -> Self
Converts to this type from the input type.
Source§impl From<ListPaymentMethodsResponse> for ListPaymentMethodsResponse
impl From<ListPaymentMethodsResponse> for ListPaymentMethodsResponse
Source§fn from(value: ListPaymentMethodsResponse) -> Self
fn from(value: ListPaymentMethodsResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ListPaymentMethodsResponse> for ListPaymentMethodsResponse
impl TryFrom<ListPaymentMethodsResponse> for ListPaymentMethodsResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ListPaymentMethodsResponse) -> Result<Self, ConversionError>
fn try_from(value: ListPaymentMethodsResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ListPaymentMethodsResponse
impl RefUnwindSafe for ListPaymentMethodsResponse
impl Send for ListPaymentMethodsResponse
impl Sync for ListPaymentMethodsResponse
impl Unpin for ListPaymentMethodsResponse
impl UnsafeUnpin for ListPaymentMethodsResponse
impl UnwindSafe for ListPaymentMethodsResponse
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