pub struct ComposeConfig {
pub file: Option<String>,
pub external: Option<ExternalRef>,
pub name: Option<String>,
pub template_driver: Option<String>,
}Expand description
Config definition (Swarm mode).
Fields§
§file: Option<String>File path
external: Option<ExternalRef>External config reference
name: Option<String>Config name
template_driver: Option<String>Template driver
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 · 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 Default for ComposeConfig
impl Default for ComposeConfig
Source§fn default() -> ComposeConfig
fn default() -> ComposeConfig
Returns the “default value” for a type. Read more
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
Auto Trait Implementations§
impl Freeze for ComposeConfig
impl RefUnwindSafe for ComposeConfig
impl Send for ComposeConfig
impl Sync for ComposeConfig
impl Unpin 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