pub struct InitOptions {
pub profile: String,
pub provider: String,
pub email: String,
pub client_preset: Option<String>,
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub tenant: Option<String>,
pub scopes: Vec<String>,
pub redirect_port: Option<u16>,
pub force: bool,
}Fields§
§profile: String§provider: String§email: String§client_preset: Option<String>§client_id: Option<String>§client_secret: Option<String>§tenant: Option<String>§scopes: Vec<String>§redirect_port: Option<u16>§force: boolTrait Implementations§
Source§impl Clone for InitOptions
impl Clone for InitOptions
Source§fn clone(&self) -> InitOptions
fn clone(&self) -> InitOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InitOptions
impl RefUnwindSafe for InitOptions
impl Send for InitOptions
impl Sync for InitOptions
impl Unpin for InitOptions
impl UnsafeUnpin for InitOptions
impl UnwindSafe for InitOptions
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