pub struct TransferSource(pub PaymentMethodRequest);
Expand description
The source of the transfer.
JSON schema
{
"description": "The source of the transfer.",
"type": "object",
"oneOf": [
{
"$ref": "#/components/schemas/PaymentMethodRequest"
}
]
}
Tuple Fields§
§0: PaymentMethodRequest
Trait Implementations§
Source§impl Clone for TransferSource
impl Clone for TransferSource
Source§fn clone(&self) -> TransferSource
fn clone(&self) -> TransferSource
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 TransferSource
impl Debug for TransferSource
Source§impl Deref for TransferSource
impl Deref for TransferSource
Source§type Target = PaymentMethodRequest
type Target = PaymentMethodRequest
The resulting type after dereferencing.
Source§fn deref(&self) -> &PaymentMethodRequest
fn deref(&self) -> &PaymentMethodRequest
Dereferences the value.
Source§impl<'de> Deserialize<'de> for TransferSource
impl<'de> Deserialize<'de> for TransferSource
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<&TransferSource> for TransferSource
impl From<&TransferSource> for TransferSource
Source§fn from(value: &TransferSource) -> Self
fn from(value: &TransferSource) -> Self
Converts to this type from the input type.
Source§impl From<PaymentMethodRequest> for TransferSource
impl From<PaymentMethodRequest> for TransferSource
Source§fn from(value: PaymentMethodRequest) -> Self
fn from(value: PaymentMethodRequest) -> Self
Converts to this type from the input type.
Source§impl From<TransferSource> for PaymentMethodRequest
impl From<TransferSource> for PaymentMethodRequest
Source§fn from(value: TransferSource) -> Self
fn from(value: TransferSource) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TransferSource
impl RefUnwindSafe for TransferSource
impl Send for TransferSource
impl Sync for TransferSource
impl Unpin for TransferSource
impl UnwindSafe for TransferSource
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