Struct mailchimp_api::types::InterestsSegment
source · pub struct InterestsSegment {
pub condition_type: Option<InterestsSegmentConditionType>,
pub field: String,
pub op: Option<InterestsSegmentOperator>,
pub value: Vec<String>,
}
Expand description
Segment by an interest group merge field.
Fields
condition_type: Option<InterestsSegmentConditionType>
Segment by an interest group merge field.
field: String
Segment by an interest group merge field.
op: Option<InterestsSegmentOperator>
Segment by an interest group merge field.
value: Vec<String>
Segment by an interest group merge field.
Trait Implementations
sourceimpl Clone for InterestsSegment
impl Clone for InterestsSegment
sourcefn clone(&self) -> InterestsSegment
fn clone(&self) -> InterestsSegment
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 InterestsSegment
impl Debug for InterestsSegment
sourceimpl<'de> Deserialize<'de> for InterestsSegment
impl<'de> Deserialize<'de> for InterestsSegment
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 InterestsSegment
impl JsonSchema for InterestsSegment
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<InterestsSegment> for InterestsSegment
impl PartialEq<InterestsSegment> for InterestsSegment
sourcefn eq(&self, other: &InterestsSegment) -> bool
fn eq(&self, other: &InterestsSegment) -> bool
sourceimpl Serialize for InterestsSegment
impl Serialize for InterestsSegment
impl StructuralPartialEq for InterestsSegment
Auto Trait Implementations
impl RefUnwindSafe for InterestsSegment
impl Send for InterestsSegment
impl Sync for InterestsSegment
impl Unpin for InterestsSegment
impl UnwindSafe for InterestsSegment
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