Struct mailchimp_api::types::PromoRulesData
source · pub struct PromoRulesData {
pub links: Vec<Links>,
pub promo_rules: Vec<PromoRules>,
pub store_id: String,
pub total_items: i64,
}
Expand description
A collection of the store’s promo rules.
Fields
links: Vec<Links>
A collection of the store’s promo rules.
promo_rules: Vec<PromoRules>
A collection of the store’s promo rules.
store_id: String
A collection of the store’s promo rules.
total_items: i64
A collection of the store’s promo rules.
Trait Implementations
sourceimpl Clone for PromoRulesData
impl Clone for PromoRulesData
sourcefn clone(&self) -> PromoRulesData
fn clone(&self) -> PromoRulesData
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 PromoRulesData
impl Debug for PromoRulesData
sourceimpl<'de> Deserialize<'de> for PromoRulesData
impl<'de> Deserialize<'de> for PromoRulesData
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 PromoRulesData
impl JsonSchema for PromoRulesData
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<PromoRulesData> for PromoRulesData
impl PartialEq<PromoRulesData> for PromoRulesData
sourcefn eq(&self, other: &PromoRulesData) -> bool
fn eq(&self, other: &PromoRulesData) -> bool
sourceimpl Serialize for PromoRulesData
impl Serialize for PromoRulesData
impl StructuralPartialEq for PromoRulesData
Auto Trait Implementations
impl RefUnwindSafe for PromoRulesData
impl Send for PromoRulesData
impl Sync for PromoRulesData
impl Unpin for PromoRulesData
impl UnwindSafe for PromoRulesData
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