Struct podman_rest_client::models::net_options::NetOptions   
source · pub struct NetOptions {
    pub dns_option: Option<Vec<String>>,
    pub dns_search: Option<Vec<String>>,
    pub dns_server: Option<Vec<String>>,
    pub hostadd: Option<Vec<String>>,
    pub netns: Option<Box<Namespace>>,
    pub network_alias: Option<Vec<String>>,
    pub network_options: Option<HashMap<String, Vec<String>>>,
    pub networks: Option<HashMap<String, PerNetworkOptions>>,
    pub no_manage_hosts: Option<bool>,
    pub no_manage_resolv_conf: Option<bool>,
    pub portmappings: Option<Vec<PortMapping>>,
}Expand description
NetOptions : NetOptions reflect the shared network options between pods and containers
Fields§
§dns_option: Option<Vec<String>>§dns_search: Option<Vec<String>>§dns_server: Option<Vec<String>>§hostadd: Option<Vec<String>>§netns: Option<Box<Namespace>>§network_alias: Option<Vec<String>>§network_options: Option<HashMap<String, Vec<String>>>NetworkOptions are additional options for each network
networks: Option<HashMap<String, PerNetworkOptions>>§no_manage_hosts: Option<bool>§no_manage_resolv_conf: Option<bool>§portmappings: Option<Vec<PortMapping>>Implementations§
source§impl NetOptions
 
impl NetOptions
sourcepub fn new() -> NetOptions
 
pub fn new() -> NetOptions
NetOptions reflect the shared network options between pods and containers
Trait Implementations§
source§impl Clone for NetOptions
 
impl Clone for NetOptions
source§fn clone(&self) -> NetOptions
 
fn clone(&self) -> NetOptions
Returns a copy 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 NetOptions
 
impl Debug for NetOptions
source§impl Default for NetOptions
 
impl Default for NetOptions
source§fn default() -> NetOptions
 
fn default() -> NetOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NetOptions
 
impl<'de> Deserialize<'de> for NetOptions
source§fn deserialize<__D>(
    __deserializer: __D,
) -> Result<NetOptions, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D,
) -> Result<NetOptions, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for NetOptions
 
impl PartialEq for NetOptions
source§fn eq(&self, other: &NetOptions) -> bool
 
fn eq(&self, other: &NetOptions) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for NetOptions
 
impl Serialize for NetOptions
source§fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
 
fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for NetOptions
Auto Trait Implementations§
impl Freeze for NetOptions
impl RefUnwindSafe for NetOptions
impl Send for NetOptions
impl Sync for NetOptions
impl Unpin for NetOptions
impl UnwindSafe for NetOptions
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)