pub struct ActiveAuthStatus {Show 15 fields
pub auth_file: Option<PathBuf>,
pub exists: bool,
pub readable: bool,
pub parse_ok: bool,
pub authenticated: bool,
pub prompt_segment_authenticated: bool,
pub auth_kind: Option<AuthKind>,
pub has_oauth_access_token: bool,
pub has_oauth_refresh_token: bool,
pub has_api_key: bool,
pub last_refresh: Option<String>,
pub identity: Option<String>,
pub matched_secret: Option<String>,
pub match_mode: Option<SecretMatchMode>,
pub reason: AuthStatusReason,
}Fields§
§auth_file: Option<PathBuf>§exists: bool§readable: bool§parse_ok: bool§authenticated: bool§prompt_segment_authenticated: bool§auth_kind: Option<AuthKind>§has_oauth_access_token: bool§has_oauth_refresh_token: bool§has_api_key: bool§last_refresh: Option<String>§identity: Option<String>§matched_secret: Option<String>§match_mode: Option<SecretMatchMode>§reason: AuthStatusReasonTrait Implementations§
Source§impl Clone for ActiveAuthStatus
impl Clone for ActiveAuthStatus
Auto Trait Implementations§
impl Freeze for ActiveAuthStatus
impl RefUnwindSafe for ActiveAuthStatus
impl Send for ActiveAuthStatus
impl Sync for ActiveAuthStatus
impl Unpin for ActiveAuthStatus
impl UnsafeUnpin for ActiveAuthStatus
impl UnwindSafe for ActiveAuthStatus
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