pub struct EnvValidationResult {
pub file_existed: bool,
pub defaults_applied: bool,
pub vars: EnvVars,
pub warnings: Vec<String>,
}Expand description
Result of validating the .mlstack_env file.
Fields§
§file_existed: boolWhether the env file existed.
defaults_applied: boolWhether any defaults were applied.
vars: EnvVarsThe resolved environment variables.
warnings: Vec<String>Warnings generated during validation.
Trait Implementations§
Source§impl Clone for EnvValidationResult
impl Clone for EnvValidationResult
Source§fn clone(&self) -> EnvValidationResult
fn clone(&self) -> EnvValidationResult
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 EnvValidationResult
impl RefUnwindSafe for EnvValidationResult
impl Send for EnvValidationResult
impl Sync for EnvValidationResult
impl Unpin for EnvValidationResult
impl UnsafeUnpin for EnvValidationResult
impl UnwindSafe for EnvValidationResult
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more