Struct mailchimp_api::types::ECommerceCartLineItem
source · pub struct ECommerceCartLineItem {
pub links: Vec<Links>,
pub id: String,
pub price: f64,
pub product_id: String,
pub product_title: String,
pub product_variant_id: String,
pub product_variant_title: String,
pub quantity: i64,
}
Expand description
Information about a specific cart line item.
Fields
links: Vec<Links>
Information about a specific cart line item.
id: String
Information about a specific cart line item.
price: f64
Information about a specific cart line item.
product_id: String
Information about a specific cart line item.
product_title: String
Information about a specific cart line item.
product_variant_id: String
Information about a specific cart line item.
product_variant_title: String
Information about a specific cart line item.
quantity: i64
Information about a specific cart line item.
Trait Implementations
sourceimpl Clone for ECommerceCartLineItem
impl Clone for ECommerceCartLineItem
sourcefn clone(&self) -> ECommerceCartLineItem
fn clone(&self) -> ECommerceCartLineItem
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 ECommerceCartLineItem
impl Debug for ECommerceCartLineItem
sourceimpl<'de> Deserialize<'de> for ECommerceCartLineItem
impl<'de> Deserialize<'de> for ECommerceCartLineItem
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 ECommerceCartLineItem
impl JsonSchema for ECommerceCartLineItem
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<ECommerceCartLineItem> for ECommerceCartLineItem
impl PartialEq<ECommerceCartLineItem> for ECommerceCartLineItem
sourcefn eq(&self, other: &ECommerceCartLineItem) -> bool
fn eq(&self, other: &ECommerceCartLineItem) -> bool
sourceimpl Serialize for ECommerceCartLineItem
impl Serialize for ECommerceCartLineItem
impl StructuralPartialEq for ECommerceCartLineItem
Auto Trait Implementations
impl RefUnwindSafe for ECommerceCartLineItem
impl Send for ECommerceCartLineItem
impl Sync for ECommerceCartLineItem
impl Unpin for ECommerceCartLineItem
impl UnwindSafe for ECommerceCartLineItem
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