Struct mailchimp_api::types::ECommerceProductVariant
source · pub struct ECommerceProductVariant {
pub backorders: String,
pub id: String,
pub image_url: String,
pub inventory_quantity: i64,
pub price: f64,
pub sku: String,
pub title: String,
pub url: String,
pub visibility: String,
}
Expand description
Information about a specific product variant.
Fields
backorders: String
Information about a specific product variant.
id: String
The name of the folder.
image_url: String
Information about a specific product variant.
inventory_quantity: i64
Information about a specific product variant.
price: f64
Information about a specific product variant.
sku: String
Information about a specific product variant.
title: String
The name of the folder.
url: String
Information about a specific product variant.
visibility: String
Information about a specific product variant.
Trait Implementations
sourceimpl Clone for ECommerceProductVariant
impl Clone for ECommerceProductVariant
sourcefn clone(&self) -> ECommerceProductVariant
fn clone(&self) -> ECommerceProductVariant
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 ECommerceProductVariant
impl Debug for ECommerceProductVariant
sourceimpl<'de> Deserialize<'de> for ECommerceProductVariant
impl<'de> Deserialize<'de> for ECommerceProductVariant
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 ECommerceProductVariant
impl JsonSchema for ECommerceProductVariant
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<ECommerceProductVariant> for ECommerceProductVariant
impl PartialEq<ECommerceProductVariant> for ECommerceProductVariant
sourcefn eq(&self, other: &ECommerceProductVariant) -> bool
fn eq(&self, other: &ECommerceProductVariant) -> bool
sourceimpl Serialize for ECommerceProductVariant
impl Serialize for ECommerceProductVariant
impl StructuralPartialEq for ECommerceProductVariant
Auto Trait Implementations
impl RefUnwindSafe for ECommerceProductVariant
impl Send for ECommerceProductVariant
impl Sync for ECommerceProductVariant
impl Unpin for ECommerceProductVariant
impl UnwindSafe for ECommerceProductVariant
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