pub struct SegmentFilterClause {
pub dimension_filter: Option<SegmentDimensionFilter>,
pub metric_filter: Option<SegmentMetricFilter>,
pub not: Option<bool>,
}Expand description
Filter Clause to be used in a segment definition, can be wither a metric or a dimension filter.
This type is not used in any activity, and only used as part of another schema.
Fields§
§dimension_filter: Option<SegmentDimensionFilter>Dimension Filter for the segment definition.
metric_filter: Option<SegmentMetricFilter>Metric Filter for the segment definition.
not: Option<bool>Matches the complement (!) of the filter.
Trait Implementations§
Source§impl Clone for SegmentFilterClause
impl Clone for SegmentFilterClause
Source§fn clone(&self) -> SegmentFilterClause
fn clone(&self) -> SegmentFilterClause
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SegmentFilterClause
impl Debug for SegmentFilterClause
Source§impl Default for SegmentFilterClause
impl Default for SegmentFilterClause
Source§fn default() -> SegmentFilterClause
fn default() -> SegmentFilterClause
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SegmentFilterClause
impl<'de> Deserialize<'de> for SegmentFilterClause
Source§fn 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
Source§impl Serialize for SegmentFilterClause
impl Serialize for SegmentFilterClause
impl Part for SegmentFilterClause
Auto Trait Implementations§
impl Freeze for SegmentFilterClause
impl RefUnwindSafe for SegmentFilterClause
impl Send for SegmentFilterClause
impl Sync for SegmentFilterClause
impl Unpin for SegmentFilterClause
impl UnwindSafe for SegmentFilterClause
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more