Struct k8s_openapi::api::core::v1::NodeConfigSource
source · pub struct NodeConfigSource {
pub config_map: Option<ConfigMapNodeConfigSource>,
}
Expand description
NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22
Fields§
§config_map: Option<ConfigMapNodeConfigSource>
ConfigMap is a reference to a Node’s ConfigMap
Trait Implementations§
source§impl Clone for NodeConfigSource
impl Clone for NodeConfigSource
source§fn clone(&self) -> NodeConfigSource
fn clone(&self) -> NodeConfigSource
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 NodeConfigSource
impl Debug for NodeConfigSource
source§impl DeepMerge for NodeConfigSource
impl DeepMerge for NodeConfigSource
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for NodeConfigSource
impl Default for NodeConfigSource
source§fn default() -> NodeConfigSource
fn default() -> NodeConfigSource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NodeConfigSource
impl<'de> Deserialize<'de> for NodeConfigSource
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 NodeConfigSource
impl JsonSchema for NodeConfigSource
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 NodeConfigSource
impl PartialEq for NodeConfigSource
source§fn eq(&self, other: &NodeConfigSource) -> bool
fn eq(&self, other: &NodeConfigSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NodeConfigSource
impl Serialize for NodeConfigSource
impl StructuralPartialEq for NodeConfigSource
Auto Trait Implementations§
impl Freeze for NodeConfigSource
impl RefUnwindSafe for NodeConfigSource
impl Send for NodeConfigSource
impl Sync for NodeConfigSource
impl Unpin for NodeConfigSource
impl UnwindSafe for NodeConfigSource
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