Struct mailchimp_api::types::PromoRules
source · pub struct PromoRules {
pub links: Vec<Links>,
pub amount: f64,
pub created_at_foreign: Option<DateTime<Utc>>,
pub description: String,
pub enabled: bool,
pub ends_at: Option<DateTime<Utc>>,
pub id: String,
pub starts_at: Option<DateTime<Utc>>,
pub target: Option<Target>,
pub title: String,
pub type_: Option<OrdersPromosType>,
pub updated_at_foreign: Option<DateTime<Utc>>,
}
Expand description
Information about an Ecommerce Store’s specific Promo Rule
Fields
links: Vec<Links>
Information about an Ecommerce Store’s specific Promo Rule
amount: f64
Information about an Ecommerce Store’s specific Promo Rule
created_at_foreign: Option<DateTime<Utc>>
Information about an Ecommerce Store’s specific Promo Rule
description: String
Information about an Ecommerce Store’s specific Promo Rule
enabled: bool
Information about an Ecommerce Store’s specific Promo Rule
ends_at: Option<DateTime<Utc>>
Information about an Ecommerce Store’s specific Promo Rule
id: String
Information about an Ecommerce Store’s specific Promo Rule
starts_at: Option<DateTime<Utc>>
Information about an Ecommerce Store’s specific Promo Rule
target: Option<Target>
Information about an Ecommerce Store’s specific Promo Rule
title: String
Information about an Ecommerce Store’s specific Promo Rule
type_: Option<OrdersPromosType>
Information about an Ecommerce Store’s specific Promo Rule
updated_at_foreign: Option<DateTime<Utc>>
Information about an Ecommerce Store’s specific Promo Rule
Trait Implementations
sourceimpl Clone for PromoRules
impl Clone for PromoRules
sourcefn clone(&self) -> PromoRules
fn clone(&self) -> PromoRules
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for PromoRules
impl Debug for PromoRules
sourceimpl<'de> Deserialize<'de> for PromoRules
impl<'de> Deserialize<'de> for PromoRules
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>,
sourceimpl JsonSchema for PromoRules
impl JsonSchema for PromoRules
sourcefn schema_name() -> String
fn schema_name() -> String
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read more