pub struct LoginCommand { /* private fields */ }Implementations§
Source§impl LoginCommand
impl LoginCommand
pub fn new() -> Self
pub fn config(self, key_value: impl Into<String>) -> Self
pub fn enable(self, feature: impl Into<String>) -> Self
pub fn disable(self, feature: impl Into<String>) -> Self
pub fn with_api_key(self) -> Self
Sourcepub fn with_access_token(self) -> Self
pub fn with_access_token(self) -> Self
Read an access token from stdin (--with-access-token).
pub fn device_auth(self) -> Self
Trait Implementations§
Source§impl Clone for LoginCommand
impl Clone for LoginCommand
Source§fn clone(&self) -> LoginCommand
fn clone(&self) -> LoginCommand
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 moreSource§impl CodexCommand for LoginCommand
impl CodexCommand for LoginCommand
Source§impl Debug for LoginCommand
impl Debug for LoginCommand
Source§impl Default for LoginCommand
impl Default for LoginCommand
Source§fn default() -> LoginCommand
fn default() -> LoginCommand
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LoginCommand
impl RefUnwindSafe for LoginCommand
impl Send for LoginCommand
impl Sync for LoginCommand
impl Unpin for LoginCommand
impl UnsafeUnpin for LoginCommand
impl UnwindSafe for LoginCommand
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