pub struct AddSuppression {
pub email: String,
pub reason: Option<String>,
}Expand description
Parameters for Suppression::add.
Fields§
§email: StringEmail address.
reason: Option<String>Reason: hard_bounce, complaint, unsubscribe, or manual.
Trait Implementations§
Source§impl Clone for AddSuppression
impl Clone for AddSuppression
Source§fn clone(&self) -> AddSuppression
fn clone(&self) -> AddSuppression
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 AddSuppression
impl Debug for AddSuppression
Auto Trait Implementations§
impl Freeze for AddSuppression
impl RefUnwindSafe for AddSuppression
impl Send for AddSuppression
impl Sync for AddSuppression
impl Unpin for AddSuppression
impl UnsafeUnpin for AddSuppression
impl UnwindSafe for AddSuppression
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