pub struct AuthConfig {
pub username: Option<String>,
pub password: Option<String>,
pub email: Option<String>,
pub bearer_token: String,
pub two_factor_secret: Option<String>,
}Fields§
§username: Option<String>§password: Option<String>§email: Option<String>§bearer_token: String§two_factor_secret: Option<String>Implementations§
Auto Trait Implementations§
impl Freeze for AuthConfig
impl RefUnwindSafe for AuthConfig
impl Send for AuthConfig
impl Sync for AuthConfig
impl Unpin for AuthConfig
impl UnsafeUnpin for AuthConfig
impl UnwindSafe for AuthConfig
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