pub struct ResolveOptions<'a> {
pub platform: &'a str,
pub layers: Vec<EnvironmentLayer<'a>>,
pub execution_affecting_variables: &'a [&'a str],
pub expanded: bool,
pub reveal_host_values: bool,
}Expand description
Everything needed to resolve an environment and describe it.
Fields§
§platform: &'a strTarget platform, deciding whether names are case-insensitive.
layers: Vec<EnvironmentLayer<'a>>The layers, in precedence order.
execution_affecting_variables: &'a [&'a str]Inherited variables that can change which code the interpreter loads.
expanded: boolWhether to list every variable rather than only the actionable ones.
reveal_host_values: boolWhether to show inherited host values rather than masking them.
Auto Trait Implementations§
impl<'a> Freeze for ResolveOptions<'a>
impl<'a> RefUnwindSafe for ResolveOptions<'a>
impl<'a> Send for ResolveOptions<'a>
impl<'a> Sync for ResolveOptions<'a>
impl<'a> Unpin for ResolveOptions<'a>
impl<'a> UnsafeUnpin for ResolveOptions<'a>
impl<'a> UnwindSafe for ResolveOptions<'a>
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