pub struct SecretBackendDiagnostic {
pub backend: SecretBackendDiagnosticKind,
pub inspection: SecretBackendInspection,
pub path: Option<PathBuf>,
pub presence: SecretBackendPresence,
pub legacy_path: Option<PathBuf>,
pub legacy_presence: SecretBackendPresence,
}Expand description
Secret-safe structural description of the configured credential backend.
File-backed diagnostics expose resolved paths and regular-file presence from
metadata without opening either store. System backends intentionally report
unknown / not_probed: constructing or probing an OS keyring can show a
user prompt even when no credential value is requested.
Fields§
§backend: SecretBackendDiagnosticKindConfigured backend family.
inspection: SecretBackendInspectionInspection performed to produce this report.
path: Option<PathBuf>Canonical file-store path, when the file backend is selected.
presence: SecretBackendPresenceMetadata-only presence of the canonical file-store path.
legacy_path: Option<PathBuf>Ambient legacy file-store path, suppressed by explicit CODEWHALE_HOME.
legacy_presence: SecretBackendPresenceMetadata-only presence of the legacy file-store path.
Trait Implementations§
Source§impl Clone for SecretBackendDiagnostic
impl Clone for SecretBackendDiagnostic
Source§fn clone(&self) -> SecretBackendDiagnostic
fn clone(&self) -> SecretBackendDiagnostic
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 Debug for SecretBackendDiagnostic
impl Debug for SecretBackendDiagnostic
impl Eq for SecretBackendDiagnostic
Source§impl PartialEq for SecretBackendDiagnostic
impl PartialEq for SecretBackendDiagnostic
Source§impl Serialize for SecretBackendDiagnostic
impl Serialize for SecretBackendDiagnostic
impl StructuralPartialEq for SecretBackendDiagnostic
Auto Trait Implementations§
impl Freeze for SecretBackendDiagnostic
impl RefUnwindSafe for SecretBackendDiagnostic
impl Send for SecretBackendDiagnostic
impl Sync for SecretBackendDiagnostic
impl Unpin for SecretBackendDiagnostic
impl UnsafeUnpin for SecretBackendDiagnostic
impl UnwindSafe for SecretBackendDiagnostic
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