#[non_exhaustive]pub struct Configuration {
pub os: OsRef,
pub install: Vec<Step>,
pub configure: Vec<Step>,
pub start: Vec<Step>,
pub files: BTreeMap<ProjectPath, String>,
}Expand description
A machine’s configuration: an app’s steps (all of them install), or a catalogue entry’s
phases, resolved from what the author wrote. Set by lowering, never written in a spec.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.os: OsRefThe OS it is resolved for: its family installs and starts things.
install: Vec<Step>Install: an app’s steps; an entry’s install (which its official image skips).
configure: Vec<Step>Configure: an entry’s configure, run in every form.
start: Vec<Step>Start: an entry’s per-start preparation (an app has none in 1.0).
files: BTreeMap<ProjectPath, String>The text of each template its steps fill in, by the template’s from: an entry’s own
(its placeholders filled in, the lab’s left for the plan), or a project file read by the
caller that generates (isoloom_plan::Lab::with_templates).
Implementations§
Source§impl Configuration
impl Configuration
Sourcepub fn app(os: OsRef, steps: Vec<Step>) -> Configuration
pub fn app(os: OsRef, steps: Vec<Step>) -> Configuration
An app’s configuration on os: its steps, all of them installing.
Trait Implementations§
Source§impl Clone for Configuration
impl Clone for Configuration
Source§impl Debug for Configuration
impl Debug for Configuration
impl Eq for Configuration
Source§impl PartialEq for Configuration
impl PartialEq for Configuration
impl StructuralPartialEq for Configuration
Auto Trait Implementations§
impl Freeze for Configuration
impl RefUnwindSafe for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl UnsafeUnpin for Configuration
impl UnwindSafe for Configuration
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.