pub struct CheckoutSession {Show 13 fields
pub id: String,
pub buyer: Option<Buyer>,
pub payment_provider: Option<PaymentProvider>,
pub status: CheckoutSessionStatus,
pub currency: String,
pub line_items: Vec<LineItem>,
pub fulfillment_address: Option<Address>,
pub fulfillment_options: Vec<FulfillmentOption>,
pub fulfillment_option_id: Option<String>,
pub totals: Vec<Total>,
pub messages: Vec<Message>,
pub links: Vec<Link>,
pub order: Option<Order>,
}Fields§
§id: String§buyer: Option<Buyer>§payment_provider: Option<PaymentProvider>§status: CheckoutSessionStatus§currency: String§line_items: Vec<LineItem>§fulfillment_address: Option<Address>§fulfillment_options: Vec<FulfillmentOption>§fulfillment_option_id: Option<String>§totals: Vec<Total>§messages: Vec<Message>§links: Vec<Link>§order: Option<Order>Trait Implementations§
Source§impl Clone for CheckoutSession
impl Clone for CheckoutSession
Source§fn clone(&self) -> CheckoutSession
fn clone(&self) -> CheckoutSession
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 CheckoutSession
impl Debug for CheckoutSession
Source§impl<'de> Deserialize<'de> for CheckoutSession
impl<'de> Deserialize<'de> for CheckoutSession
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 CheckoutSession
impl PartialEq for CheckoutSession
Source§impl Serialize for CheckoutSession
impl Serialize for CheckoutSession
impl StructuralPartialEq for CheckoutSession
Auto Trait Implementations§
impl Freeze for CheckoutSession
impl RefUnwindSafe for CheckoutSession
impl Send for CheckoutSession
impl Sync for CheckoutSession
impl Unpin for CheckoutSession
impl UnwindSafe for CheckoutSession
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