Struct mailchimp_api::types::SegmentOpts
source · pub struct SegmentOpts {
pub conditions: Vec<ConditionsOneOf>,
pub match_: Option<Match>,
pub saved_segment_id: i64,
}Expand description
An object representing all segmentation options.
Fields
conditions: Vec<ConditionsOneOf>An object representing all segmentation options.
match_: Option<Match>An object representing all segmentation options.
saved_segment_id: i64An object representing all segmentation options.
Trait Implementations
sourceimpl Clone for SegmentOpts
impl Clone for SegmentOpts
sourcefn clone(&self) -> SegmentOpts
fn clone(&self) -> SegmentOpts
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 SegmentOpts
impl Debug for SegmentOpts
sourceimpl<'de> Deserialize<'de> for SegmentOpts
impl<'de> Deserialize<'de> for SegmentOpts
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 SegmentOpts
impl JsonSchema for SegmentOpts
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<SegmentOpts> for SegmentOpts
impl PartialEq<SegmentOpts> for SegmentOpts
sourcefn eq(&self, other: &SegmentOpts) -> bool
fn eq(&self, other: &SegmentOpts) -> bool
sourceimpl Serialize for SegmentOpts
impl Serialize for SegmentOpts
impl StructuralPartialEq for SegmentOpts
Auto Trait Implementations
impl RefUnwindSafe for SegmentOpts
impl Send for SegmentOpts
impl Sync for SegmentOpts
impl Unpin for SegmentOpts
impl UnwindSafe for SegmentOpts
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