pub struct StripeCheckoutSession {
pub id: String,
pub mode: Option<String>,
pub subscription: Option<Value>,
pub client_reference_id: Option<String>,
pub metadata: BTreeMap<String, String>,
pub url: Option<String>,
}Fields§
§id: String§mode: Option<String>§subscription: Option<Value>§client_reference_id: Option<String>§metadata: BTreeMap<String, String>§url: Option<String>Trait Implementations§
Source§impl Clone for StripeCheckoutSession
impl Clone for StripeCheckoutSession
Source§fn clone(&self) -> StripeCheckoutSession
fn clone(&self) -> StripeCheckoutSession
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 StripeCheckoutSession
impl Debug for StripeCheckoutSession
Source§impl<'de> Deserialize<'de> for StripeCheckoutSession
impl<'de> Deserialize<'de> for StripeCheckoutSession
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 PartialEq for StripeCheckoutSession
impl PartialEq for StripeCheckoutSession
Source§fn eq(&self, other: &StripeCheckoutSession) -> bool
fn eq(&self, other: &StripeCheckoutSession) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StripeCheckoutSession
impl Serialize for StripeCheckoutSession
impl StructuralPartialEq for StripeCheckoutSession
Auto Trait Implementations§
impl Freeze for StripeCheckoutSession
impl RefUnwindSafe for StripeCheckoutSession
impl Send for StripeCheckoutSession
impl Sync for StripeCheckoutSession
impl Unpin for StripeCheckoutSession
impl UnsafeUnpin for StripeCheckoutSession
impl UnwindSafe for StripeCheckoutSession
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