pub struct ApproverOptions {
pub machine_id: Option<Vec<u8>>,
pub device_friendly_name: Option<String>,
}Expand description
Options for creating a LoginApprover.
Fields§
§machine_id: Option<Vec<u8>>Machine ID for authentication.
device_friendly_name: Option<String>Friendly name for the device.
Trait Implementations§
Source§impl Clone for ApproverOptions
impl Clone for ApproverOptions
Source§fn clone(&self) -> ApproverOptions
fn clone(&self) -> ApproverOptions
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 ApproverOptions
impl Debug for ApproverOptions
Source§impl Default for ApproverOptions
impl Default for ApproverOptions
Source§fn default() -> ApproverOptions
fn default() -> ApproverOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ApproverOptions
impl RefUnwindSafe for ApproverOptions
impl Send for ApproverOptions
impl Sync for ApproverOptions
impl Unpin for ApproverOptions
impl UnsafeUnpin for ApproverOptions
impl UnwindSafe for ApproverOptions
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