pub struct TrackedEnv {
pub key: String,
pub value: String,
pub kind: EnvKind,
pub prompt: Option<String>,
}Expand description
Per-env metadata the planner keeps alongside the rendered value, so
downstream callers (CLI prompts for ryra upgrade) can decide
whether a given env var needs user input.
Fields§
§key: String§value: String§kind: EnvKind§prompt: Option<String>Trait Implementations§
Source§impl Clone for TrackedEnv
impl Clone for TrackedEnv
Source§fn clone(&self) -> TrackedEnv
fn clone(&self) -> TrackedEnv
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 moreAuto Trait Implementations§
impl Freeze for TrackedEnv
impl RefUnwindSafe for TrackedEnv
impl Send for TrackedEnv
impl Sync for TrackedEnv
impl Unpin for TrackedEnv
impl UnsafeUnpin for TrackedEnv
impl UnwindSafe for TrackedEnv
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