pub struct EomActions {
pub actions: Vec<EomAction>,
}Expand description
End-of-message actions received from the milter.
This is a preliminary API, as diagnostics are poor.
Fields§
§actions: Vec<EomAction>Implementations§
Source§impl EomActions
impl EomActions
pub fn has_add_header<M1, M2>(&self, mname: M1, mvalue: M2) -> bool
pub fn has_insert_header<M1, M2, M3>( &self, mindex: M1, mname: M2, mvalue: M3, ) -> bool
pub fn has_change_header<M1, M2, M3>( &self, mname: M1, mindex: M2, mvalue: M3, ) -> bool
pub fn has_delete_header<M1, M2>(&self, mname: M1, mindex: M2) -> bool
pub fn has_change_sender<M1, M2>(&self, mmail: M1, margs: M2) -> bool
pub fn has_add_recipient<M1, M2>(&self, mrcpt: M1, margs: M2) -> bool
pub fn has_delete_recipient<M>(&self, mrcpt: M) -> bool
pub fn has_replaced_body<M>(&self, body: M) -> bool
pub fn has_quarantine<M>(&self, mreason: M) -> bool
Trait Implementations§
Source§impl Clone for EomActions
impl Clone for EomActions
Source§fn clone(&self) -> EomActions
fn clone(&self) -> EomActions
Returns a duplicate of the value. Read more
1.0.0 · 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 EomActions
impl Debug for EomActions
Source§impl Hash for EomActions
impl Hash for EomActions
Source§impl PartialEq for EomActions
impl PartialEq for EomActions
impl Eq for EomActions
impl StructuralPartialEq for EomActions
Auto Trait Implementations§
impl Freeze for EomActions
impl RefUnwindSafe for EomActions
impl Send for EomActions
impl Sync for EomActions
impl Unpin for EomActions
impl UnwindSafe for EomActions
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