pub struct Sources<'a> {
pub project: &'a Path,
pub images_file: Option<&'a Path>,
pub profile: Option<&'a Profile>,
pub sets: &'a [String],
pub host: Host,
}Expand description
What a project’s defaults are read from: the project, the --images table, its profile, the
command’s -s and the host it runs on.
Fields§
§project: &'a PathThe project’s folder.
images_file: Option<&'a Path>The --images table, between the files and sets.
profile: Option<&'a Profile>The profile, between the project’s file and --images.
sets: &'a [String]The command’s -s (defaults.cloud.aws.region=eu-west-1, the prefix optional).
host: HostThe host: Isoloom’s home, and the ISOLOOM_* variables.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Sources<'a>
impl<'a> RefUnwindSafe for Sources<'a>
impl<'a> Send for Sources<'a>
impl<'a> Sync for Sources<'a>
impl<'a> Unpin for Sources<'a>
impl<'a> UnsafeUnpin for Sources<'a>
impl<'a> UnwindSafe for Sources<'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