Struct aws_sdk_ses::model::AddHeaderAction
source · #[non_exhaustive]pub struct AddHeaderAction { /* private fields */ }
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.
Implementations§
source§impl AddHeaderAction
impl AddHeaderAction
sourcepub fn header_name(&self) -> Option<&str>
pub fn header_name(&self) -> Option<&str>
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.
sourcepub fn header_value(&self) -> Option<&str>
pub fn header_value(&self) -> Option<&str>
Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").
source§impl AddHeaderAction
impl AddHeaderAction
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AddHeaderAction
.
Trait Implementations§
source§impl Clone for AddHeaderAction
impl Clone for AddHeaderAction
source§fn clone(&self) -> AddHeaderAction
fn clone(&self) -> AddHeaderAction
Returns a copy 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 PartialEq<AddHeaderAction> for AddHeaderAction
impl PartialEq<AddHeaderAction> for AddHeaderAction
source§fn eq(&self, other: &AddHeaderAction) -> bool
fn eq(&self, other: &AddHeaderAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.