pub struct DeviceAuthEmail {
pub to: String,
pub name: String,
pub device_code: String,
pub confirm_url: String,
pub expires_in_minutes: u32,
}Expand description
Magic link email for passwordless CLI authentication
Fields§
§to: StringRecipient email address
name: StringUser’s display name (may be empty for new users)
device_code: StringDevice code shown to user in CLI
confirm_url: StringURL to confirm the CLI login
expires_in_minutes: u32Minutes until expiry
Trait Implementations§
Source§impl Clone for DeviceAuthEmail
impl Clone for DeviceAuthEmail
Source§fn clone(&self) -> DeviceAuthEmail
fn clone(&self) -> DeviceAuthEmail
Returns a duplicate of the value. Read more
1.0.0 · 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 DeviceAuthEmail
impl Debug for DeviceAuthEmail
Source§impl EmailTemplate for DeviceAuthEmail
impl EmailTemplate for DeviceAuthEmail
Source§fn template_name(&self) -> &'static str
fn template_name(&self) -> &'static str
Get the template name (without extension) Read more
Source§fn priority(&self) -> EmailPriority
fn priority(&self) -> EmailPriority
Get the priority level (for queue ordering)
Auto Trait Implementations§
impl Freeze for DeviceAuthEmail
impl RefUnwindSafe for DeviceAuthEmail
impl Send for DeviceAuthEmail
impl Sync for DeviceAuthEmail
impl Unpin for DeviceAuthEmail
impl UnwindSafe for DeviceAuthEmail
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