Struct mailchimp_api::types::Variants
source · pub struct Variants {
pub links: Vec<Links>,
pub backorders: String,
pub created_at: Option<DateTime<Utc>>,
pub id: String,
pub image_url: String,
pub inventory_quantity: i64,
pub price: f64,
pub sku: String,
pub title: String,
pub updated_at: Option<DateTime<Utc>>,
pub url: String,
pub visibility: String,
}Expand description
Information about a specific product variant.
Fields
links: Vec<Links>Information about a specific product variant.
backorders: StringInformation about a specific product variant.
created_at: Option<DateTime<Utc>>Information about a specific product variant.
id: StringInformation about a specific product variant.
image_url: StringInformation about a specific product variant.
inventory_quantity: i64Information about a specific product variant.
price: f64Information about a specific product variant.
sku: StringInformation about a specific product variant.
title: StringInformation about a specific product variant.
updated_at: Option<DateTime<Utc>>Information about a specific product variant.
url: StringInformation about a specific product variant.
visibility: StringInformation about a specific product variant.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Variants
impl<'de> Deserialize<'de> for Variants
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 Variants
impl JsonSchema for Variants
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 moreimpl StructuralPartialEq for Variants
Auto Trait Implementations
impl RefUnwindSafe for Variants
impl Send for Variants
impl Sync for Variants
impl Unpin for Variants
impl UnwindSafe for Variants
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