pub struct ActionStep {
pub add_flags: Vec<String>,
pub move_to_mailbox_id: Option<String>,
pub append_to_mailbox_id: Option<String>,
pub smtp_send: Option<BTreeMap<String, String>>,
pub on: Option<ActionStepOn>,
}Fields§
§add_flags: Vec<String>§move_to_mailbox_id: Option<String>§append_to_mailbox_id: Option<String>§smtp_send: Option<BTreeMap<String, String>>§on: Option<ActionStepOn>Implementations§
Source§impl ActionStep
impl ActionStep
pub fn add_flags(flags: Vec<String>) -> Self
pub fn add_flags_on(flags: Vec<String>, on: ActionStepOn) -> Self
pub fn move_to_mailbox_id(id: impl Into<String>) -> Self
pub fn append_to_mailbox_id(id: impl Into<String>) -> Self
pub fn smtp_send() -> Self
Trait Implementations§
Source§impl Clone for ActionStep
impl Clone for ActionStep
Source§fn clone(&self) -> ActionStep
fn clone(&self) -> ActionStep
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionStep
impl Debug for ActionStep
Source§impl Default for ActionStep
impl Default for ActionStep
Source§fn default() -> ActionStep
fn default() -> ActionStep
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActionStep
impl<'de> Deserialize<'de> for ActionStep
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 Eq for ActionStep
Source§impl PartialEq for ActionStep
impl PartialEq for ActionStep
Source§fn eq(&self, other: &ActionStep) -> bool
fn eq(&self, other: &ActionStep) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ActionStep
impl Serialize for ActionStep
impl StructuralPartialEq for ActionStep
Auto Trait Implementations§
impl Freeze for ActionStep
impl RefUnwindSafe for ActionStep
impl Send for ActionStep
impl Sync for ActionStep
impl Unpin for ActionStep
impl UnsafeUnpin for ActionStep
impl UnwindSafe for ActionStep
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.