Struct google_gmail1::api::Filter
source · 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§
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>,
Deserialize this value from the given Serde deserializer. Read more
impl RequestValue for Filter
impl ResponseResult for Filter
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more