Struct google_gmail1::api::Filter [−][src]
pub struct Filter {
pub action: Option<FilterAction>,
pub criteria: Option<FilterCriteria>,
pub id: Option<String>,
}Expand description
Resource definition for Gmail filters. Filters apply to specific messages instead of an entire email thread.
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).
- settings filters create users (request|response)
- settings filters get users (response)
Fields
action: Option<FilterAction>Action that the filter performs.
criteria: Option<FilterCriteria>Matching criteria for the filter.
id: Option<String>The server assigned ID of the filter.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Filter
impl UnwindSafe for Filter
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more