pub struct ServiceTaskSpecContainerSpecDnsConfig {
pub nameservers: Box<Vec<String>>,
pub options: Box<Option<Vec<String>>>,
pub searches: Box<Option<Vec<String>>>,
}
Fields§
§nameservers: Box<Vec<String>>
The IP addresses of the name servers
options: Box<Option<Vec<String>>>
A list of internal resolver variables to be modified (e.g., debug
, ndots:3
, etc.)
searches: Box<Option<Vec<String>>>
A search list for host-name lookup
Implementations§
source§impl ServiceTaskSpecContainerSpecDnsConfig
impl ServiceTaskSpecContainerSpecDnsConfig
sourcepub fn builder() -> ServiceTaskSpecContainerSpecDnsConfigBuilder
pub fn builder() -> ServiceTaskSpecContainerSpecDnsConfigBuilder
Create an instance of ServiceTaskSpecContainerSpecDnsConfig
using the builder syntax
Trait Implementations§
source§impl<'de> Deserialize<'de> for ServiceTaskSpecContainerSpecDnsConfig
impl<'de> Deserialize<'de> for ServiceTaskSpecContainerSpecDnsConfig
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 ServiceTaskSpecContainerSpecDnsConfig
impl RefUnwindSafe for ServiceTaskSpecContainerSpecDnsConfig
impl Send for ServiceTaskSpecContainerSpecDnsConfig
impl Sync for ServiceTaskSpecContainerSpecDnsConfig
impl Unpin for ServiceTaskSpecContainerSpecDnsConfig
impl UnwindSafe for ServiceTaskSpecContainerSpecDnsConfig
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