Struct k8s_openapi::api::core::v1::PodDNSConfigOption
source · 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>
Required.
value: Option<String>
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 JsonSchema for PodDNSConfigOption
impl JsonSchema for PodDNSConfigOption
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for PodDNSConfigOption
impl PartialEq for PodDNSConfigOption
source§fn eq(&self, other: &PodDNSConfigOption) -> bool
fn eq(&self, other: &PodDNSConfigOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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