Struct compose_spec::Include
source · pub struct Include {
pub path: ItemOrList<PathBuf>,
pub project_directory: Option<String>,
pub env_file: Option<ItemOrList<PathBuf>>,
}Expand description
A Compose sub-project to include.
Fields§
§path: ItemOrList<PathBuf>The location of the Compose file(s) to be parsed and included into the local Compose model.
project_directory: Option<String>Base path to resolve relative paths set in the Compose file.
env_file: Option<ItemOrList<PathBuf>>Environment file(s) to use to define default values when interpolating variables in the Compose file being parsed.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Include
impl<'de> Deserialize<'de> for Include
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<S> From<ShortOrLong<S, Include>> for Includewhere
S: Into<Self>,
impl<S> From<ShortOrLong<S, Include>> for Includewhere
S: Into<Self>,
source§fn from(value: ShortOrLong<S, Self>) -> Self
fn from(value: ShortOrLong<S, Self>) -> Self
Converts to this type from the input type.
source§impl PartialEq for Include
impl PartialEq for Include
impl Eq for Include
impl StructuralPartialEq for Include
Auto Trait Implementations§
impl Freeze for Include
impl RefUnwindSafe for Include
impl Send for Include
impl Sync for Include
impl Unpin for Include
impl UnwindSafe for Include
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<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.