Struct mailchimp_api::types::ECommerceProductData
source · pub struct ECommerceProductData {
pub description: String,
pub handle: String,
pub id: String,
pub image_url: String,
pub images: Vec<ECommerceProductImage>,
pub published_at_foreign: Option<DateTime<Utc>>,
pub title: String,
pub type_: String,
pub url: String,
pub variants: Vec<ECommerceProductVariant>,
pub vendor: String,
}
Expand description
Information about a specific product.
Fields
description: String
Information about a specific product.
handle: String
Information about a specific product.
id: String
The name of the folder.
image_url: String
Information about a specific product.
images: Vec<ECommerceProductImage>
Information about a specific product.
published_at_foreign: Option<DateTime<Utc>>
Information about a specific product.
title: String
The name of the folder.
type_: String
Information about a specific product.
url: String
Information about a specific product.
variants: Vec<ECommerceProductVariant>
An array of the product’s variants. At least one variant is required for each product. A variant can use the same id
and title
as the parent product.
vendor: String
Information about a specific product.
Trait Implementations
sourceimpl Clone for ECommerceProductData
impl Clone for ECommerceProductData
sourcefn clone(&self) -> ECommerceProductData
fn clone(&self) -> ECommerceProductData
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 ECommerceProductData
impl Debug for ECommerceProductData
sourceimpl<'de> Deserialize<'de> for ECommerceProductData
impl<'de> Deserialize<'de> for ECommerceProductData
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 ECommerceProductData
impl JsonSchema for ECommerceProductData
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<ECommerceProductData> for ECommerceProductData
impl PartialEq<ECommerceProductData> for ECommerceProductData
sourcefn eq(&self, other: &ECommerceProductData) -> bool
fn eq(&self, other: &ECommerceProductData) -> bool
sourceimpl Serialize for ECommerceProductData
impl Serialize for ECommerceProductData
impl StructuralPartialEq for ECommerceProductData
Auto Trait Implementations
impl RefUnwindSafe for ECommerceProductData
impl Send for ECommerceProductData
impl Sync for ECommerceProductData
impl Unpin for ECommerceProductData
impl UnwindSafe for ECommerceProductData
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