[][src]Struct melib::backends::jmap::objects::EmailFilterCondition

pub struct EmailFilterCondition {
    pub in_mailbox: Option<Id<MailboxObject>>,
    pub in_mailbox_other_than: Vec<Id<MailboxObject>>,
    pub before: UtcDate,
    pub after: UtcDate,
    pub min_size: Option<u64>,
    pub max_size: Option<u64>,
    pub all_in_thread_have_keyword: String,
    pub some_in_thread_have_keyword: String,
    pub none_in_thread_have_keyword: String,
    pub has_keyword: String,
    pub not_keyword: String,
    pub has_attachment: Option<bool>,
    pub text: String,
    pub from: String,
    pub to: String,
    pub cc: String,
    pub bcc: String,
    pub subject: String,
    pub body: String,
    pub header: Vec<Value>,
}

Fields

in_mailbox: Option<Id<MailboxObject>>in_mailbox_other_than: Vec<Id<MailboxObject>>before: UtcDateafter: UtcDatemin_size: Option<u64>max_size: Option<u64>all_in_thread_have_keyword: Stringsome_in_thread_have_keyword: Stringnone_in_thread_have_keyword: Stringhas_keyword: Stringnot_keyword: Stringhas_attachment: Option<bool>text: Stringfrom: Stringto: Stringcc: Stringbcc: Stringsubject: Stringbody: Stringheader: Vec<Value>

Implementations

impl EmailFilterCondition[src]

pub fn new() -> Self[src]

pub fn in_mailbox(self, new_val: Option<Id<MailboxObject>>) -> Self[src]

pub fn in_mailbox_other_than(self, new_val: Vec<Id<MailboxObject>>) -> Self[src]

pub fn before(self, new_val: UtcDate) -> Self[src]

pub fn after(self, new_val: UtcDate) -> Self[src]

pub fn min_size(self, new_val: Option<u64>) -> Self[src]

pub fn max_size(self, new_val: Option<u64>) -> Self[src]

pub fn all_in_thread_have_keyword(self, new_val: String) -> Self[src]

pub fn some_in_thread_have_keyword(self, new_val: String) -> Self[src]

pub fn none_in_thread_have_keyword(self, new_val: String) -> Self[src]

pub fn has_keyword(self, new_val: String) -> Self[src]

pub fn not_keyword(self, new_val: String) -> Self[src]

pub fn has_attachment(self, new_val: Option<bool>) -> Self[src]

pub fn text(self, new_val: String) -> Self[src]

pub fn from(self, new_val: String) -> Self[src]

pub fn to(self, new_val: String) -> Self[src]

pub fn cc(self, new_val: String) -> Self[src]

pub fn bcc(self, new_val: String) -> Self[src]

pub fn subject(self, new_val: String) -> Self[src]

pub fn body(self, new_val: String) -> Self[src]

pub fn header(self, new_val: Vec<Value>) -> Self[src]

Trait Implementations

impl Debug for EmailFilterCondition[src]

impl Default for EmailFilterCondition[src]

impl<'de> Deserialize<'de> for EmailFilterCondition[src]

impl FilterTrait<EmailObject> for EmailFilterCondition[src]

impl From<EmailFilterCondition> for FilterCondition<EmailFilterCondition, EmailObject>[src]

impl Serialize for EmailFilterCondition[src]

Auto Trait Implementations

impl RefUnwindSafe for EmailFilterCondition

impl Send for EmailFilterCondition

impl Sync for EmailFilterCondition

impl Unpin for EmailFilterCondition

impl UnwindSafe for EmailFilterCondition

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]