Struct mailchimp_api::types::ECommerceCart
source · pub struct ECommerceCart {
pub campaign_id: String,
pub checkout_url: String,
pub currency_code: String,
pub customer: ECommerceCustomer,
pub id: String,
pub lines: Vec<ECommerceCartLineItemData>,
pub order_total: f64,
pub tax_total: f64,
}
Expand description
Information about a specific cart.
Fields
campaign_id: String
Information about a specific cart.
checkout_url: String
Information about a specific cart.
currency_code: String
The name of the folder.
customer: ECommerceCustomer
Information about a specific customer. For existing customers include only the id
parameter in the customer
object body.
id: String
The name of the folder.
lines: Vec<ECommerceCartLineItemData>
An array of the cart’s line items.
order_total: f64
The price of a product variant.
tax_total: f64
Information about a specific cart.
Trait Implementations
sourceimpl Clone for ECommerceCart
impl Clone for ECommerceCart
sourcefn clone(&self) -> ECommerceCart
fn clone(&self) -> ECommerceCart
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ECommerceCart
impl Debug for ECommerceCart
sourceimpl<'de> Deserialize<'de> for ECommerceCart
impl<'de> Deserialize<'de> for ECommerceCart
sourcefn 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
sourceimpl JsonSchema for ECommerceCart
impl JsonSchema for ECommerceCart
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresourceimpl PartialEq<ECommerceCart> for ECommerceCart
impl PartialEq<ECommerceCart> for ECommerceCart
sourcefn eq(&self, other: &ECommerceCart) -> bool
fn eq(&self, other: &ECommerceCart) -> bool
sourceimpl Serialize for ECommerceCart
impl Serialize for ECommerceCart
impl StructuralPartialEq for ECommerceCart
Auto Trait Implementations
impl RefUnwindSafe for ECommerceCart
impl Send for ECommerceCart
impl Sync for ECommerceCart
impl Unpin for ECommerceCart
impl UnwindSafe for ECommerceCart
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more