Struct google_gmail1::api::FilterCriteria [−][src]
Message matching criteria.
This type is not used in any activity, and only used as part of another schema.
Fields
exclude_chats: Option<bool>Whether the response should exclude chats.
from: Option<String>The sender’s display name or email address.
has_attachment: Option<bool>Whether the message has any attachment.
negated_query: Option<String>Only return messages not matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread".
query: Option<String>Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread".
size: Option<i32>The size of the entire RFC822 message in bytes, including all headers and attachments.
size_comparison: Option<String>How the message size in bytes should be in relation to the size field.
subject: Option<String>Case-insensitive phrase found in the message’s subject. Trailing and leading whitespace are be trimmed and adjacent spaces are collapsed.
to: Option<String>The recipient’s display name or email address. Includes recipients in the “to”, “cc”, and “bcc” header fields. You can use simply the local part of the email address. For example, “example” and “example@” both match “example@gmail.com”. This field is case-insensitive.
Trait Implementations
impl Clone for FilterCriteria[src]
fn clone(&self) -> FilterCriteria[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for FilterCriteria[src]
impl Default for FilterCriteria[src]
fn default() -> FilterCriteria[src]
impl<'de> Deserialize<'de> for FilterCriteria[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for FilterCriteria[src]
impl Serialize for FilterCriteria[src]
Auto Trait Implementations
impl RefUnwindSafe for FilterCriteria
impl Send for FilterCriteria
impl Sync for FilterCriteria
impl Unpin for FilterCriteria
impl UnwindSafe for FilterCriteria
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,