pub struct Profile {
pub name: String,
pub path: PathBuf,
pub description: Option<String>,
pub target: Option<Target>,
pub spec: Value,
pub defaults: Value,
pub inputs: IndexMap<String, String>,
}Expand description
A profile, read and checked against nothing yet (see Profile::check).
Fields§
§name: StringThe profile’s name: its file name without .yml (isoloom run --profile <name>).
path: PathBufThe profile’s file.
description: Option<String>What the profile is for, as isoloom profiles lists it.
target: Option<Target>The target the profile runs on: the default when none is given, and the only one allowed.
spec: ValueMerged into the spec before -s.
defaults: ValueA layer of the defaults.
inputs: IndexMap<String, String>Launch-time inputs, by name.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Profile
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnsafeUnpin for Profile
impl UnwindSafe for Profile
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