pub struct LoadOptions {
pub files: Vec<PathBuf>,
pub env_files: Vec<PathBuf>,
pub project_name: Option<String>,
pub vars: BTreeMap<String, String>,
}Expand description
How to load.
Fields§
§files: Vec<PathBuf>Compose files, merged in order. Empty: isb.yaml / isb.yml in the
cwd, plus isb.override.yaml / isb.override.yml if present.
env_files: Vec<PathBuf>dotenv files for interpolation. The process environment wins over them.
Empty: .env next to the first compose file, if present.
project_name: Option<String>Overrides the project name.
vars: BTreeMap<String, String>Variables for interpolation that win over the environment and env files.
Trait Implementations§
Source§impl Clone for LoadOptions
impl Clone for LoadOptions
Source§impl Debug for LoadOptions
impl Debug for LoadOptions
Auto Trait Implementations§
impl Freeze for LoadOptions
impl RefUnwindSafe for LoadOptions
impl Send for LoadOptions
impl Sync for LoadOptions
impl Unpin for LoadOptions
impl UnsafeUnpin for LoadOptions
impl UnwindSafe for LoadOptions
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