Struct mailchimp_api::types::ECommerceCartData
source · pub struct ECommerceCartData {
pub campaign_id: String,
pub checkout_url: String,
pub currency_code: String,
pub customer: Option<ECommerceCartCustomer>,
pub lines: Vec<ECommerceCartLineItemDataType>,
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
Information about a specific cart.
customer: Option<ECommerceCartCustomer>
Information about a specific cart.
lines: Vec<ECommerceCartLineItemDataType>
Information about a specific cart.
order_total: f64
Information about a specific cart.
tax_total: f64
Information about a specific cart.
Trait Implementations
sourceimpl Clone for ECommerceCartData
impl Clone for ECommerceCartData
sourcefn clone(&self) -> ECommerceCartData
fn clone(&self) -> ECommerceCartData
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 ECommerceCartData
impl Debug for ECommerceCartData
sourceimpl<'de> Deserialize<'de> for ECommerceCartData
impl<'de> Deserialize<'de> for ECommerceCartData
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 ECommerceCartData
impl JsonSchema for ECommerceCartData
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<ECommerceCartData> for ECommerceCartData
impl PartialEq<ECommerceCartData> for ECommerceCartData
sourcefn eq(&self, other: &ECommerceCartData) -> bool
fn eq(&self, other: &ECommerceCartData) -> bool
sourceimpl Serialize for ECommerceCartData
impl Serialize for ECommerceCartData
impl StructuralPartialEq for ECommerceCartData
Auto Trait Implementations
impl RefUnwindSafe for ECommerceCartData
impl Send for ECommerceCartData
impl Sync for ECommerceCartData
impl Unpin for ECommerceCartData
impl UnwindSafe for ECommerceCartData
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