Struct mailchimp_api::types::ECommercePromoCode
source · pub struct ECommercePromoCode {
pub code: String,
pub created_at_foreign: Option<DateTime<Utc>>,
pub enabled: bool,
pub id: String,
pub redemption_url: String,
pub updated_at_foreign: Option<DateTime<Utc>>,
pub usage_count: i64,
}
Expand description
Information about an Ecommerce Store’s specific Promo Code.
Fields
code: String
The name of the folder.
created_at_foreign: Option<DateTime<Utc>>
Information about an Ecommerce Store’s specific Promo Code.
enabled: bool
Information about an Ecommerce Store’s specific Promo Code.
id: String
The name of the folder.
redemption_url: String
The name of the folder.
updated_at_foreign: Option<DateTime<Utc>>
Information about an Ecommerce Store’s specific Promo Code.
usage_count: i64
Information about an Ecommerce Store’s specific Promo Code.
Trait Implementations
sourceimpl Clone for ECommercePromoCode
impl Clone for ECommercePromoCode
sourcefn clone(&self) -> ECommercePromoCode
fn clone(&self) -> ECommercePromoCode
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 ECommercePromoCode
impl Debug for ECommercePromoCode
sourceimpl<'de> Deserialize<'de> for ECommercePromoCode
impl<'de> Deserialize<'de> for ECommercePromoCode
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 ECommercePromoCode
impl JsonSchema for ECommercePromoCode
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<ECommercePromoCode> for ECommercePromoCode
impl PartialEq<ECommercePromoCode> for ECommercePromoCode
sourcefn eq(&self, other: &ECommercePromoCode) -> bool
fn eq(&self, other: &ECommercePromoCode) -> bool
sourceimpl Serialize for ECommercePromoCode
impl Serialize for ECommercePromoCode
impl StructuralPartialEq for ECommercePromoCode
Auto Trait Implementations
impl RefUnwindSafe for ECommercePromoCode
impl Send for ECommercePromoCode
impl Sync for ECommercePromoCode
impl Unpin for ECommercePromoCode
impl UnwindSafe for ECommercePromoCode
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