pub struct IdentityRule {
pub folder: Option<String>,
pub recipient: Option<String>,
pub name: Option<String>,
pub email: Option<String>,
}Expand description
One [[identities]] entry. With both globs set, both must match;
with neither, it always applies. Unset name/email keep the value
from the layer below.
Fields§
§folder: Option<String>Glob (*) on the open mailbox: a path or an imap: spec.
recipient: Option<String>Glob (*) on any recipient address of the draft.
name: Option<String>§email: Option<String>Trait Implementations§
Source§impl Clone for IdentityRule
impl Clone for IdentityRule
Source§impl Debug for IdentityRule
impl Debug for IdentityRule
Source§impl Default for IdentityRule
impl Default for IdentityRule
Source§impl<'de> Deserialize<'de> for IdentityRulewhere
IdentityRule: Default,
impl<'de> Deserialize<'de> for IdentityRulewhere
IdentityRule: Default,
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
Auto Trait Implementations§
impl Freeze for IdentityRule
impl RefUnwindSafe for IdentityRule
impl Send for IdentityRule
impl Sync for IdentityRule
impl Unpin for IdentityRule
impl UnsafeUnpin for IdentityRule
impl UnwindSafe for IdentityRule
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