pub struct SendEventRequestHeader {
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§
Source§impl Clone for SendEventRequestHeader
impl Clone for SendEventRequestHeader
Source§impl Debug for SendEventRequestHeader
impl Debug for SendEventRequestHeader
Source§impl Default for SendEventRequestHeader
impl Default for SendEventRequestHeader
Source§impl PartialEq for SendEventRequestHeader
impl PartialEq for SendEventRequestHeader
impl StructuralPartialEq for SendEventRequestHeader
Source§impl TryFrom<&SendEventRequestHeader> for HeaderMap
impl TryFrom<&SendEventRequestHeader> for HeaderMap
Source§type Error = InvalidHeaderValue
type Error = InvalidHeaderValue
The type returned in the event of a conversion error.
Source§impl TryFrom<SendEventRequestHeader> for HeaderMap
impl TryFrom<SendEventRequestHeader> for HeaderMap
Source§type Error = InvalidHeaderValue
type Error = InvalidHeaderValue
The type returned in the event of a conversion error.
Source§impl Validate for SendEventRequestHeader
impl Validate for SendEventRequestHeader
Source§impl<'v_a> ValidateArgs<'v_a> for SendEventRequestHeader
impl<'v_a> ValidateArgs<'v_a> for SendEventRequestHeader
Auto Trait Implementations§
impl Freeze for SendEventRequestHeader
impl RefUnwindSafe for SendEventRequestHeader
impl Send for SendEventRequestHeader
impl Sync for SendEventRequestHeader
impl Unpin for SendEventRequestHeader
impl UnsafeUnpin for SendEventRequestHeader
impl UnwindSafe for SendEventRequestHeader
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