pub struct Filter {Show 15 fields
pub account_id: Option<String>,
pub advanced_details: Option<FilterAdvancedDetails>,
pub created: Option<DateTime<Utc>>,
pub exclude_details: Option<FilterExpression>,
pub id: Option<String>,
pub include_details: Option<FilterExpression>,
pub kind: Option<String>,
pub lowercase_details: Option<FilterLowercaseDetails>,
pub name: Option<String>,
pub parent_link: Option<FilterParentLink>,
pub search_and_replace_details: Option<FilterSearchAndReplaceDetails>,
pub self_link: Option<String>,
pub type_: Option<String>,
pub updated: Option<DateTime<Utc>>,
pub uppercase_details: Option<FilterUppercaseDetails>,
}
Expand description
JSON template for an Analytics account filter.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- filters delete management (response)
- filters get management (response)
- filters insert management (request|response)
- filters patch management (request|response)
- filters update management (request|response)
Fields§
§account_id: Option<String>
Account ID to which this filter belongs.
advanced_details: Option<FilterAdvancedDetails>
Details for the filter of the type ADVANCED.
created: Option<DateTime<Utc>>
Time this filter was created.
exclude_details: Option<FilterExpression>
Details for the filter of the type EXCLUDE.
id: Option<String>
Filter ID.
include_details: Option<FilterExpression>
Details for the filter of the type INCLUDE.
kind: Option<String>
Resource type for Analytics filter.
lowercase_details: Option<FilterLowercaseDetails>
Details for the filter of the type LOWER.
name: Option<String>
Name of this filter.
parent_link: Option<FilterParentLink>
Parent link for this filter. Points to the account to which this filter belongs.
search_and_replace_details: Option<FilterSearchAndReplaceDetails>
Details for the filter of the type SEARCH_AND_REPLACE.
self_link: Option<String>
Link for this filter.
type_: Option<String>
Type of this filter. Possible values are INCLUDE, EXCLUDE, LOWERCASE, UPPERCASE, SEARCH_AND_REPLACE and ADVANCED.
updated: Option<DateTime<Utc>>
Time this filter was last modified.
uppercase_details: Option<FilterUppercaseDetails>
Details for the filter of the type UPPER.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Filter
impl<'de> Deserialize<'de> for Filter
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>,
impl RequestValue for Filter
impl ResponseResult for Filter
Auto Trait Implementations§
impl Freeze for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnwindSafe for Filter
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
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>
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>
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