pub struct AgentSignup {
pub human_email: Option<String>,
pub username: String,
pub source: Option<String>,
pub referrer: Option<String>,
}Expand description
Request body for agent_sign_up: start onboarding a new agent, which
emails a one-time code to human_email when given. username is the only
required field; without human_email the inbox is created unattached to a
human (attach one later with crate::Client::agent_attach_human).
Fields§
§human_email: Option<String>The human’s email, which receives the verification code.
username: StringThe desired inbox username.
source: Option<String>Where the signup originated, optional.
referrer: Option<String>Referrer, optional.
Trait Implementations§
Source§impl Clone for AgentSignup
impl Clone for AgentSignup
Source§impl Debug for AgentSignup
impl Debug for AgentSignup
Source§impl Default for AgentSignup
impl Default for AgentSignup
Auto Trait Implementations§
impl Freeze for AgentSignup
impl RefUnwindSafe for AgentSignup
impl Send for AgentSignup
impl Sync for AgentSignup
impl Unpin for AgentSignup
impl UnsafeUnpin for AgentSignup
impl UnwindSafe for AgentSignup
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