pub struct NetworkDocker {
pub cidr: String,
}Expand description
A network on the Docker target.
Fields§
§cidr: StringThe block to use on Docker instead of cidr (same size, inside 10.0.0.0/8). Without
it, a network outside 10.0.0.0/8 is moved into 10.0.0.0/8 automatically, since Docker’s
own pools, Docker Desktop and home networks use 172.16.0.0/12 and 192.168.0.0/16.
Trait Implementations§
Source§impl Clone for NetworkDocker
impl Clone for NetworkDocker
Source§impl Debug for NetworkDocker
impl Debug for NetworkDocker
Source§impl<'de> Deserialize<'de> for NetworkDocker
impl<'de> Deserialize<'de> for NetworkDocker
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 NetworkDocker
impl JsonSchema for NetworkDocker
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 NetworkDocker
impl PartialEq for NetworkDocker
Source§impl Serialize for NetworkDocker
impl Serialize for NetworkDocker
impl StructuralPartialEq for NetworkDocker
Auto Trait Implementations§
impl Freeze for NetworkDocker
impl RefUnwindSafe for NetworkDocker
impl Send for NetworkDocker
impl Sync for NetworkDocker
impl Unpin for NetworkDocker
impl UnsafeUnpin for NetworkDocker
impl UnwindSafe for NetworkDocker
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