pub struct PaymentSourceCoinbase {
pub coinbase_user_id: String,
}Expand description
A Coinbase account authenticated via OAuth, used as a payment source.
JSON schema
{
"title": "Payment Source Coinbase",
"description": "A Coinbase account authenticated via OAuth, used as a payment source.",
"type": "object",
"required": [
"coinbaseUserId"
],
"properties": {
"coinbaseUserId": {
"description": "The unique identifier of the payer within Coinbase.",
"examples": [
"coinbase_user_abc123"
],
"type": "string"
}
}
}Fields§
§coinbase_user_id: StringThe unique identifier of the payer within Coinbase.
Implementations§
Source§impl PaymentSourceCoinbase
impl PaymentSourceCoinbase
pub fn builder() -> PaymentSourceCoinbase
Trait Implementations§
Source§impl Clone for PaymentSourceCoinbase
impl Clone for PaymentSourceCoinbase
Source§impl Debug for PaymentSourceCoinbase
impl Debug for PaymentSourceCoinbase
Source§impl<'de> Deserialize<'de> for PaymentSourceCoinbase
impl<'de> Deserialize<'de> for PaymentSourceCoinbase
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<&PaymentSourceCoinbase> for PaymentSourceCoinbase
impl From<&PaymentSourceCoinbase> for PaymentSourceCoinbase
Source§fn from(value: &PaymentSourceCoinbase) -> Self
fn from(value: &PaymentSourceCoinbase) -> Self
Converts to this type from the input type.
Source§impl From<PaymentSourceCoinbase> for PaymentSessionSource
impl From<PaymentSourceCoinbase> for PaymentSessionSource
Source§fn from(value: PaymentSourceCoinbase) -> Self
fn from(value: PaymentSourceCoinbase) -> Self
Converts to this type from the input type.
Source§impl From<PaymentSourceCoinbase> for PaymentSourceCoinbase
impl From<PaymentSourceCoinbase> for PaymentSourceCoinbase
Source§fn from(value: PaymentSourceCoinbase) -> Self
fn from(value: PaymentSourceCoinbase) -> Self
Converts to this type from the input type.
Source§impl Serialize for PaymentSourceCoinbase
impl Serialize for PaymentSourceCoinbase
Source§impl TryFrom<PaymentSourceCoinbase> for PaymentSourceCoinbase
impl TryFrom<PaymentSourceCoinbase> for PaymentSourceCoinbase
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PaymentSourceCoinbase) -> Result<Self, ConversionError>
fn try_from(value: PaymentSourceCoinbase) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PaymentSourceCoinbase
impl RefUnwindSafe for PaymentSourceCoinbase
impl Send for PaymentSourceCoinbase
impl Sync for PaymentSourceCoinbase
impl Unpin for PaymentSourceCoinbase
impl UnsafeUnpin for PaymentSourceCoinbase
impl UnwindSafe for PaymentSourceCoinbase
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