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 PartialEq for NodeConfigSource
impl PartialEq for NodeConfigSource
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