Struct mailchimp_api::types::DateSegment
source · pub struct DateSegment {
pub condition_type: Option<DateSegmentConditionType>,
pub extra: String,
pub field: DateSegmentField,
pub op: DateSegmentOperator,
pub value: String,
}Expand description
Segment by a specific date field.
Fields
condition_type: Option<DateSegmentConditionType>Segment by a specific date field.
extra: StringSegment by a specific date field.
field: DateSegmentFieldThe type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase.
op: DateSegmentOperatorWhen the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank.
value: StringThe name of the folder.
Trait Implementations
sourceimpl Clone for DateSegment
impl Clone for DateSegment
sourcefn clone(&self) -> DateSegment
fn clone(&self) -> DateSegment
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 DateSegment
impl Debug for DateSegment
sourceimpl<'de> Deserialize<'de> for DateSegment
impl<'de> Deserialize<'de> for DateSegment
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 DateSegment
impl JsonSchema for DateSegment
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<DateSegment> for DateSegment
impl PartialEq<DateSegment> for DateSegment
sourcefn eq(&self, other: &DateSegment) -> bool
fn eq(&self, other: &DateSegment) -> bool
sourceimpl Serialize for DateSegment
impl Serialize for DateSegment
impl StructuralPartialEq for DateSegment
Auto Trait Implementations
impl RefUnwindSafe for DateSegment
impl Send for DateSegment
impl Sync for DateSegment
impl Unpin for DateSegment
impl UnwindSafe for DateSegment
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