pub struct InitArgs {Show 14 fields
pub credential_store: Option<CredentialStore>,
pub pass_store_dir: Option<PathBuf>,
pub backend: Option<BackendKind>,
pub desktop_port: Option<u16>,
pub desktop_account: Option<DesktopAccount>,
pub desktop_client: Option<DesktopClientKind>,
pub client_id: Option<String>,
pub tenant: Option<String>,
pub no_login: bool,
pub device_code: bool,
pub channel_history: bool,
pub read_only: bool,
pub allow_send: bool,
pub auto_start: bool,
}Fields§
§credential_store: Option<CredentialStore>Graph credential store (default: OS store; WSL uses Windows DPAPI)
pass_store_dir: Option<PathBuf>Existing pass directory; defaults to PASSWORD_STORE_DIR or ~/.password-store and is saved
backend: Option<BackendKind>Connection method (omitted: guided in a terminal, Graph in scripts)
desktop_port: Option<u16>Existing loopback debugging port for a desktop profile
desktop_account: Option<DesktopAccount>Select the personal or work/school Teams surface; auto refuses mixed surfaces
desktop_client: Option<DesktopClientKind>Use the native Teams app or a dedicated Chrome/Edge browser profile
client_id: Option<String>Override the maintained teams-cli public-client application ID
tenant: Option<String>Tenant ID/domain, or organizations
no_login: boolSave configuration without sign-in or probing the desktop endpoint
device_code: boolUse device-code sign-in instead of browser PKCE
channel_history: boolRequest admin-consented access to read channel history
read_only: boolBlock remote write operations for this profile
allow_send: boolAllow a desktop profile to send chat messages (desktop profiles are read-only otherwise)
auto_start: boolReopen this dedicated browser when you open the inbox (browser profiles only)
Trait Implementations§
Source§impl Args for InitArgs
impl Args for InitArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for InitArgs
impl FromArgMatches for InitArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for InitArgs
impl RefUnwindSafe for InitArgs
impl Send for InitArgs
impl Sync for InitArgs
impl Unpin for InitArgs
impl UnsafeUnpin for InitArgs
impl UnwindSafe for InitArgs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more