pub struct AdapterMetadata {
pub id: &'static str,
pub executable: &'static str,
pub mechanism: Mechanism,
pub support: SupportLevel,
pub evidence: AdapterEvidence,
pub capabilities: &'static [CapabilityClaim],
pub env: &'static [EnvOverride],
pub conflicts: &'static [ConflictOption],
pub credential_env: &'static [&'static str],
}Expand description
Everything about an adapter that does not depend on a launch.
Fields§
§id: &'static str§executable: &'static strExecutable base name, without .exe.
mechanism: MechanismHow the agent is pointed at the profile. Generates both the report sentence and the path-free
text used in messages, so neither can disagree with what plan() does.
support: SupportLevel§evidence: AdapterEvidence§capabilities: &'static [CapabilityClaim]§env: &'static [EnvOverride]Every variable plan() may set, with its sensitivity.
conflicts: &'static [ConflictOption]§credential_env: &'static [&'static str]Exact names of the environment variables the vendor documents as supplying credentials that the
agent then prefers over a profile’s own. doctor reports each one that is set in the current
environment (its name only: the value is never read, Environment::is_set returns a bool).
Every name must appear in this adapter’s own evidence notes or capability bases, so the list cannot
carry a variable nobody sourced (every_credential_variable_is_named_in_the_adapters_own_evidence).
Exact names only, never a prefix: a family such as AWS_* would flag every AWS user’s shell. Empty
means none is recorded, not that none exists.
Trait Implementations§
Source§impl Clone for AdapterMetadata
impl Clone for AdapterMetadata
Source§fn clone(&self) -> AdapterMetadata
fn clone(&self) -> AdapterMetadata
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for AdapterMetadata
Source§impl Debug for AdapterMetadata
impl Debug for AdapterMetadata
impl Eq for AdapterMetadata
Source§impl PartialEq for AdapterMetadata
impl PartialEq for AdapterMetadata
impl StructuralPartialEq for AdapterMetadata
Auto Trait Implementations§
impl Freeze for AdapterMetadata
impl RefUnwindSafe for AdapterMetadata
impl Send for AdapterMetadata
impl Sync for AdapterMetadata
impl Unpin for AdapterMetadata
impl UnsafeUnpin for AdapterMetadata
impl UnwindSafe for AdapterMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.