pub struct CreateInbox {
pub username: Option<String>,
pub domain: Option<String>,
pub display_name: Option<String>,
pub client_id: Option<String>,
pub metadata: Option<Value>,
}Expand description
Request body for create_inbox. All fields optional; the API
generates a username when none is given.
Fields§
§username: Option<String>Local part of the address; random when omitted.
domain: Option<String>A verified domain (or subdomain of one); defaults to agentmail.to.
display_name: Option<String>Human-readable sender name shown in email clients.
client_id: Option<String>Your own idempotency/reference id for this inbox.
metadata: Option<Value>Arbitrary JSON stored alongside the inbox.
Trait Implementations§
Source§impl Clone for CreateInbox
impl Clone for CreateInbox
Source§fn clone(&self) -> CreateInbox
fn clone(&self) -> CreateInbox
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 CreateInbox
impl Debug for CreateInbox
Source§impl Default for CreateInbox
impl Default for CreateInbox
Source§fn default() -> CreateInbox
fn default() -> CreateInbox
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateInbox
impl RefUnwindSafe for CreateInbox
impl Send for CreateInbox
impl Sync for CreateInbox
impl Unpin for CreateInbox
impl UnsafeUnpin for CreateInbox
impl UnwindSafe for CreateInbox
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