pub struct DimensionFilter {
pub case_sensitive: Option<bool>,
pub dimension_name: Option<String>,
pub expressions: Option<Vec<String>>,
pub not: Option<bool>,
pub operator: Option<String>,
}
Expand description
Dimension filter specifies the filtering options on a dimension.
This type is not used in any activity, and only used as part of another schema.
Fields§
§case_sensitive: Option<bool>
Should the match be case sensitive? Default is false.
dimension_name: Option<String>
The dimension to filter on. A DimensionFilter must contain a dimension.
expressions: Option<Vec<String>>
Strings or regular expression to match against. Only the first value of the list is used for comparison unless the operator is IN_LIST
. If IN_LIST
operator, then the entire list is used to filter the dimensions as explained in the description of the IN_LIST
operator.
not: Option<bool>
Logical NOT
operator. If this boolean is set to true, then the matching dimension values will be excluded in the report. The default is false.
operator: Option<String>
How to match the dimension to the expression. The default is REGEXP.
Trait Implementations§
Source§impl Clone for DimensionFilter
impl Clone for DimensionFilter
Source§fn clone(&self) -> DimensionFilter
fn clone(&self) -> DimensionFilter
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 DimensionFilter
impl Debug for DimensionFilter
Source§impl Default for DimensionFilter
impl Default for DimensionFilter
Source§fn default() -> DimensionFilter
fn default() -> DimensionFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DimensionFilter
impl<'de> Deserialize<'de> for DimensionFilter
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 DimensionFilter
impl Serialize for DimensionFilter
impl Part for DimensionFilter
Auto Trait Implementations§
impl Freeze for DimensionFilter
impl RefUnwindSafe for DimensionFilter
impl Send for DimensionFilter
impl Sync for DimensionFilter
impl Unpin for DimensionFilter
impl UnwindSafe for DimensionFilter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more