pub struct DockerOverrides {
pub networks: IndexMap<String, DockerNetwork>,
pub volumes: IndexMap<String, ExternalVolume>,
}Expand description
On the targets that run the Compose file.
Fields§
§networks: IndexMap<String, DockerNetwork>Networks by name: their block on Docker, or an existing Docker network.
volumes: IndexMap<String, ExternalVolume>Volumes by name: an existing Docker volume.
Trait Implementations§
Source§impl Clone for DockerOverrides
impl Clone for DockerOverrides
Source§impl Debug for DockerOverrides
impl Debug for DockerOverrides
Source§impl Default for DockerOverrides
impl Default for DockerOverrides
Source§impl<'de> Deserialize<'de> for DockerOverrides
impl<'de> Deserialize<'de> for DockerOverrides
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 JsonSchema for DockerOverrides
impl JsonSchema for DockerOverrides
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for DockerOverrides
impl PartialEq for DockerOverrides
impl StructuralPartialEq for DockerOverrides
Auto Trait Implementations§
impl Freeze for DockerOverrides
impl RefUnwindSafe for DockerOverrides
impl Send for DockerOverrides
impl Sync for DockerOverrides
impl Unpin for DockerOverrides
impl UnsafeUnpin for DockerOverrides
impl UnwindSafe for DockerOverrides
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