pub struct PreauthRequest {
pub user: User,
pub ipaddr: Option<String>,
pub hostname: Option<String>,
pub trusted_device_token: Option<String>,
}Fields§
§user: User§ipaddr: Option<String>§hostname: Option<String>§trusted_device_token: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for PreauthRequest
impl Clone for PreauthRequest
Source§fn clone(&self) -> PreauthRequest
fn clone(&self) -> PreauthRequest
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 moreAuto Trait Implementations§
impl Freeze for PreauthRequest
impl RefUnwindSafe for PreauthRequest
impl Send for PreauthRequest
impl Sync for PreauthRequest
impl Unpin for PreauthRequest
impl UnwindSafe for PreauthRequest
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