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§impl CodexCommand for LoginCommand
impl CodexCommand for LoginCommand
Source§impl Debug for LoginCommand
impl Debug for LoginCommand
Auto Trait Implementations§
impl Forget for LoginCommand
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