pub struct AddHeaderAction {
pub header_name: String,
pub header_value: String,
}
Expand description
When included in a receipt rule, this action adds a header to the received email.
For information about adding a header using a receipt rule, see the Amazon SES Developer Guide.
Fields§
§header_name: String
The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.
header_value: String
Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").
Trait Implementations§
Source§impl Clone for AddHeaderAction
impl Clone for AddHeaderAction
Source§fn clone(&self) -> AddHeaderAction
fn clone(&self) -> AddHeaderAction
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 AddHeaderAction
impl Debug for AddHeaderAction
Source§impl Default for AddHeaderAction
impl Default for AddHeaderAction
Source§fn default() -> AddHeaderAction
fn default() -> AddHeaderAction
Returns the “default value” for a type. Read more
Source§impl PartialEq for AddHeaderAction
impl PartialEq for AddHeaderAction
impl StructuralPartialEq for AddHeaderAction
Auto Trait Implementations§
impl Freeze for AddHeaderAction
impl RefUnwindSafe for AddHeaderAction
impl Send for AddHeaderAction
impl Sync for AddHeaderAction
impl Unpin for AddHeaderAction
impl UnwindSafe for AddHeaderAction
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