pub struct IncludeSettings {
pub path: Option<StringOrSortedList>,
pub project_directory: Option<String>,
pub env_file: Option<StringOrList>,
}Expand description
Compose application or sub-projects to be included.
See more: https://docs.docker.com/reference/compose-file/include/#long-syntax
Fields§
§path: Option<StringOrSortedList>Defines the location of the Compose file(s) to be parsed and included into the local Compose model.
project_directory: Option<String>Defines a base path to resolve relative paths set in the Compose file. It defaults to the directory of the included Compose file.
env_file: Option<StringOrList>Defines an environment file(s) to use to define default values when interpolating variables in the Compose file being parsed. It defaults to .env file in the project_directory for the Compose file being parsed.
See more: https://docs.docker.com/reference/compose-file/include/#env_file
Trait Implementations§
Source§impl Clone for IncludeSettings
impl Clone for IncludeSettings
Source§fn clone(&self) -> IncludeSettings
fn clone(&self) -> IncludeSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IncludeSettings
impl Debug for IncludeSettings
Source§impl Default for IncludeSettings
impl Default for IncludeSettings
Source§fn default() -> IncludeSettings
fn default() -> IncludeSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IncludeSettingswhere
IncludeSettings: Default,
impl<'de> Deserialize<'de> for IncludeSettingswhere
IncludeSettings: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for IncludeSettings
impl Ord for IncludeSettings
Source§impl PartialEq for IncludeSettings
impl PartialEq for IncludeSettings
Source§impl PartialOrd for IncludeSettings
impl PartialOrd for IncludeSettings
Source§impl Serialize for IncludeSettings
impl Serialize for IncludeSettings
impl Eq for IncludeSettings
impl StructuralPartialEq for IncludeSettings
Auto Trait Implementations§
impl Freeze for IncludeSettings
impl RefUnwindSafe for IncludeSettings
impl Send for IncludeSettings
impl Sync for IncludeSettings
impl Unpin for IncludeSettings
impl UnsafeUnpin for IncludeSettings
impl UnwindSafe for IncludeSettings
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.