pub struct SendTransactionalEmailRequestHeader {
pub idempotency_key: Option<String>,
}Fields§
§idempotency_key: Option<String>Include a unique ID for this request (maximum 100 characters) to avoid duplicate emails.
The value should be a string of up to 100 characters and should be unique for each request. We recommend using V4 UUIDs or some other method with enough guaranteed entropy to avoid collisions during a 24 hour window.
This endpoint will return a 409 Conflict response if the idempotency key has been used in the previous 24 hours.
Trait Implementations§
impl StructuralPartialEq for SendTransactionalEmailRequestHeader
Source§impl TryFrom<&SendTransactionalEmailRequestHeader> for HeaderMap
impl TryFrom<&SendTransactionalEmailRequestHeader> for HeaderMap
Source§type Error = InvalidHeaderValue
type Error = InvalidHeaderValue
The type returned in the event of a conversion error.
Source§impl TryFrom<SendTransactionalEmailRequestHeader> for HeaderMap
impl TryFrom<SendTransactionalEmailRequestHeader> for HeaderMap
Source§type Error = InvalidHeaderValue
type Error = InvalidHeaderValue
The type returned in the event of a conversion error.
Source§impl<'v_a> ValidateArgs<'v_a> for SendTransactionalEmailRequestHeader
impl<'v_a> ValidateArgs<'v_a> for SendTransactionalEmailRequestHeader
Auto Trait Implementations§
impl Freeze for SendTransactionalEmailRequestHeader
impl RefUnwindSafe for SendTransactionalEmailRequestHeader
impl Send for SendTransactionalEmailRequestHeader
impl Sync for SendTransactionalEmailRequestHeader
impl Unpin for SendTransactionalEmailRequestHeader
impl UnsafeUnpin for SendTransactionalEmailRequestHeader
impl UnwindSafe for SendTransactionalEmailRequestHeader
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