pub enum Source {
Default,
TfToml,
Env,
Cli,
}Expand description
Which precedence layer set a given field — surfaced for diagnostics,
--version-style introspection, and three-layer-validation evidence.
(Mirrors the intent of the CLI Config’s Detection: the codebase
should always be able to say why it is configured the way it is.)
Variants§
Default
Built-in v0-compatible default (no override anywhere).
TfToml
Set by a [fleet]/[project]/[cache] key in tf.toml.
Env
Set by a TF_* / CARGOLESS_* environment variable.
Cli
Set by an explicit CLI flag.
Implementations§
Trait Implementations§
impl Copy for Source
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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