pub struct ExternalCredentialConsentStatus {
pub access: ExternalCredentialAccess,
pub provider: String,
pub source: ExternalCredentialSource,
pub owner: &'static str,
pub path: PathBuf,
pub consent_version: u32,
pub configured: bool,
pub scope_valid: bool,
pub ambient_path_changed: bool,
pub route_state: &'static str,
pub semantics: &'static str,
pub revoke_command: String,
}Expand description
Side-effect-free projection used by picker, config, and doctor surfaces.
Fields§
§access: ExternalCredentialAccess§provider: String§source: ExternalCredentialSource§owner: &'static str§path: PathBuf§consent_version: u32§configured: bool§scope_valid: bool§ambient_path_changed: boolTrue when the ambient CLI path now differs from the persisted pinned path. This is informational; it never redirects or deactivates consent.
route_state: &'static str§semantics: &'static str§revoke_command: StringImplementations§
Source§impl ExternalCredentialConsentStatus
impl ExternalCredentialConsentStatus
Sourcepub fn ambient_path_warning(&self) -> Option<String>
pub fn ambient_path_warning(&self) -> Option<String>
Warn without displaying the untrusted ambient replacement. The persisted path remains authoritative and is escaped for one line.
Trait Implementations§
Source§impl Clone for ExternalCredentialConsentStatus
impl Clone for ExternalCredentialConsentStatus
Source§fn clone(&self) -> ExternalCredentialConsentStatus
fn clone(&self) -> ExternalCredentialConsentStatus
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 moreimpl Eq for ExternalCredentialConsentStatus
impl StructuralPartialEq for ExternalCredentialConsentStatus
Auto Trait Implementations§
impl Freeze for ExternalCredentialConsentStatus
impl RefUnwindSafe for ExternalCredentialConsentStatus
impl Send for ExternalCredentialConsentStatus
impl Sync for ExternalCredentialConsentStatus
impl Unpin for ExternalCredentialConsentStatus
impl UnsafeUnpin for ExternalCredentialConsentStatus
impl UnwindSafe for ExternalCredentialConsentStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.