pub struct StripePaymentToken {
pub id: String,
pub type_: String,
}Expand description
A saved payment token.
JSON schema
{
"title": "StripePaymentToken",
"description": "A saved payment token.",
"type": "object",
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string"
}
},
"x-stainless-model": "onramps.stripe_payment_token"
}Fields§
§id: String§type_: StringTrait Implementations§
Source§impl Clone for StripePaymentToken
impl Clone for StripePaymentToken
Source§fn clone(&self) -> StripePaymentToken
fn clone(&self) -> StripePaymentToken
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 StripePaymentToken
impl Debug for StripePaymentToken
Source§impl<'de> Deserialize<'de> for StripePaymentToken
impl<'de> Deserialize<'de> for StripePaymentToken
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<&StripePaymentToken> for StripePaymentToken
impl From<&StripePaymentToken> for StripePaymentToken
Source§fn from(value: &StripePaymentToken) -> Self
fn from(value: &StripePaymentToken) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StripePaymentToken
impl RefUnwindSafe for StripePaymentToken
impl Send for StripePaymentToken
impl Sync for StripePaymentToken
impl Unpin for StripePaymentToken
impl UnsafeUnpin for StripePaymentToken
impl UnwindSafe for StripePaymentToken
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