pub struct ComposeServiceConfig {
pub image: Option<String>,
pub build_context: Option<String>,
pub profiles: Vec<String>,
}Expand description
Selected read-only service configuration.
Fields§
§image: Option<String>Image reference, when configured.
build_context: Option<String>Build context, when represented as a string or object context.
profiles: Vec<String>Enabled profiles.
Trait Implementations§
Source§impl Clone for ComposeServiceConfig
impl Clone for ComposeServiceConfig
Source§fn clone(&self) -> ComposeServiceConfig
fn clone(&self) -> ComposeServiceConfig
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 ComposeServiceConfig
impl Debug for ComposeServiceConfig
Source§impl<'de> Deserialize<'de> for ComposeServiceConfig
impl<'de> Deserialize<'de> for ComposeServiceConfig
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 ComposeServiceConfig
impl PartialEq for ComposeServiceConfig
Source§fn eq(&self, other: &ComposeServiceConfig) -> bool
fn eq(&self, other: &ComposeServiceConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ComposeServiceConfig
impl Serialize for ComposeServiceConfig
impl Eq for ComposeServiceConfig
impl StructuralPartialEq for ComposeServiceConfig
Auto Trait Implementations§
impl Freeze for ComposeServiceConfig
impl RefUnwindSafe for ComposeServiceConfig
impl Send for ComposeServiceConfig
impl Sync for ComposeServiceConfig
impl Unpin for ComposeServiceConfig
impl UnsafeUnpin for ComposeServiceConfig
impl UnwindSafe for ComposeServiceConfig
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.