pub struct ComposeConfig {
pub host: HostId,
pub topology_revision: TopologyRevision,
pub project: String,
pub services: BTreeMap<String, ComposeServiceConfig>,
pub networks: Vec<String>,
pub volumes: Vec<String>,
}Expand description
Typed read-only Compose configuration summary.
Fields§
§host: HostIdTarget host.
topology_revision: TopologyRevisionExact topology revision.
project: StringProject name.
services: BTreeMap<String, ComposeServiceConfig>Service configurations keyed by service name.
networks: Vec<String>Declared network names.
volumes: Vec<String>Declared volume names.
Trait Implementations§
Source§impl Clone for ComposeConfig
impl Clone for ComposeConfig
Source§fn clone(&self) -> ComposeConfig
fn clone(&self) -> ComposeConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ComposeConfig
impl Debug for ComposeConfig
Source§impl<'de> Deserialize<'de> for ComposeConfig
impl<'de> Deserialize<'de> for ComposeConfig
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 PartialEq for ComposeConfig
impl PartialEq for ComposeConfig
Source§fn eq(&self, other: &ComposeConfig) -> bool
fn eq(&self, other: &ComposeConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ComposeConfig
impl Serialize for ComposeConfig
impl Eq for ComposeConfig
impl StructuralPartialEq for ComposeConfig
Auto Trait Implementations§
impl Freeze for ComposeConfig
impl RefUnwindSafe for ComposeConfig
impl Send for ComposeConfig
impl Sync for ComposeConfig
impl Unpin for ComposeConfig
impl UnsafeUnpin for ComposeConfig
impl UnwindSafe for ComposeConfig
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.