pub struct DockerConfig {
pub compose_file: Option<String>,
pub network: Option<String>,
pub shared_services: Vec<String>,
}Expand description
Docker Compose override configuration.
Fields§
§compose_file: Option<String>§network: Option<String>Implementations§
Source§impl DockerConfig
impl DockerConfig
Sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Returns true if any Docker configuration option is set.
Trait Implementations§
Source§impl Clone for DockerConfig
impl Clone for DockerConfig
Source§impl Debug for DockerConfig
impl Debug for DockerConfig
Source§impl Default for DockerConfig
impl Default for DockerConfig
Source§impl<'de> Deserialize<'de> for DockerConfig
impl<'de> Deserialize<'de> for DockerConfig
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
impl Eq for DockerConfig
Source§impl PartialEq for DockerConfig
impl PartialEq for DockerConfig
Source§impl Serialize for DockerConfig
impl Serialize for DockerConfig
impl StructuralPartialEq for DockerConfig
Auto Trait Implementations§
impl Freeze for DockerConfig
impl RefUnwindSafe for DockerConfig
impl Send for DockerConfig
impl Sync for DockerConfig
impl Unpin for DockerConfig
impl UnsafeUnpin for DockerConfig
impl UnwindSafe for DockerConfig
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.