pub struct RegisterOperatorResponse {
pub id: OperatorId,
pub email: String,
pub email_verified: bool,
pub email_verification_sent: bool,
pub display_name: Option<String>,
pub created_at: DateTime<Utc>,
}Expand description
Response from registering an operator.
Distinct from OperatorResponse because email_verification_sent
describes the registration attempt, not the operator.
Fields§
§id: OperatorId§email: StringNormalized address (any +alias stripped) the account is keyed on
email_verified: bool§email_verification_sent: boolfalse means the account exists but no link was sent — offer a resend
display_name: Option<String>§created_at: DateTime<Utc>Trait Implementations§
Source§impl Debug for RegisterOperatorResponse
impl Debug for RegisterOperatorResponse
Source§impl<'de> Deserialize<'de> for RegisterOperatorResponse
impl<'de> Deserialize<'de> for RegisterOperatorResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RegisterOperatorResponse
impl RefUnwindSafe for RegisterOperatorResponse
impl Send for RegisterOperatorResponse
impl Sync for RegisterOperatorResponse
impl Unpin for RegisterOperatorResponse
impl UnsafeUnpin for RegisterOperatorResponse
impl UnwindSafe for RegisterOperatorResponse
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