pub struct PodDNSConfigOption {
pub name: Option<String>,
pub value: Option<String>,
}
Expand description
PodDNSConfigOption defines DNS resolver options of a pod.
Fields§
§name: Option<String>
Name is this DNS resolver option’s name. Required.
value: Option<String>
Value is this DNS resolver option’s value.
Trait Implementations§
Source§impl Clone for PodDNSConfigOption
impl Clone for PodDNSConfigOption
Source§fn clone(&self) -> PodDNSConfigOption
fn clone(&self) -> PodDNSConfigOption
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 PodDNSConfigOption
impl Debug for PodDNSConfigOption
Source§impl DeepMerge for PodDNSConfigOption
impl DeepMerge for PodDNSConfigOption
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for PodDNSConfigOption
impl Default for PodDNSConfigOption
Source§fn default() -> PodDNSConfigOption
fn default() -> PodDNSConfigOption
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PodDNSConfigOption
impl<'de> Deserialize<'de> for PodDNSConfigOption
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 PartialEq for PodDNSConfigOption
impl PartialEq for PodDNSConfigOption
Source§impl Serialize for PodDNSConfigOption
impl Serialize for PodDNSConfigOption
impl StructuralPartialEq for PodDNSConfigOption
Auto Trait Implementations§
impl Freeze for PodDNSConfigOption
impl RefUnwindSafe for PodDNSConfigOption
impl Send for PodDNSConfigOption
impl Sync for PodDNSConfigOption
impl Unpin for PodDNSConfigOption
impl UnwindSafe for PodDNSConfigOption
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