#[non_exhaustive]pub struct NodePoolDefaults {
pub node_config_defaults: Option<NodeConfigDefaults>,
}Expand description
Subset of Nodepool message that has defaults.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.node_config_defaults: Option<NodeConfigDefaults>Subset of NodeConfig message that has defaults.
Implementations§
Source§impl NodePoolDefaults
impl NodePoolDefaults
Sourcepub fn set_node_config_defaults<T: Into<Option<NodeConfigDefaults>>>(
self,
v: T,
) -> Self
pub fn set_node_config_defaults<T: Into<Option<NodeConfigDefaults>>>( self, v: T, ) -> Self
Sets the value of node_config_defaults.
Trait Implementations§
Source§impl Clone for NodePoolDefaults
impl Clone for NodePoolDefaults
Source§fn clone(&self) -> NodePoolDefaults
fn clone(&self) -> NodePoolDefaults
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 NodePoolDefaults
impl Debug for NodePoolDefaults
Source§impl Default for NodePoolDefaults
impl Default for NodePoolDefaults
Source§fn default() -> NodePoolDefaults
fn default() -> NodePoolDefaults
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodePoolDefaultswhere
NodePoolDefaults: Default,
impl<'de> Deserialize<'de> for NodePoolDefaultswhere
NodePoolDefaults: Default,
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 Message for NodePoolDefaults
impl Message for NodePoolDefaults
Source§impl PartialEq for NodePoolDefaults
impl PartialEq for NodePoolDefaults
Source§impl Serialize for NodePoolDefaults
impl Serialize for NodePoolDefaults
impl StructuralPartialEq for NodePoolDefaults
Auto Trait Implementations§
impl Freeze for NodePoolDefaults
impl RefUnwindSafe for NodePoolDefaults
impl Send for NodePoolDefaults
impl Sync for NodePoolDefaults
impl Unpin for NodePoolDefaults
impl UnwindSafe for NodePoolDefaults
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