pub struct AutopilotConfig {
pub enabled: Option<bool>,
}Expand description
AutopilotConfig contains configuration of autopilot feature for this nodepool.
This type is not used in any activity, and only used as part of another schema.
Fields§
§enabled: Option<bool>Denotes that nodes belonging to this node pool are Autopilot nodes.
Trait Implementations§
Source§impl Clone for AutopilotConfig
impl Clone for AutopilotConfig
Source§fn clone(&self) -> AutopilotConfig
fn clone(&self) -> AutopilotConfig
Returns a duplicate 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 AutopilotConfig
impl Debug for AutopilotConfig
Source§impl Default for AutopilotConfig
impl Default for AutopilotConfig
Source§fn default() -> AutopilotConfig
fn default() -> AutopilotConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutopilotConfig
impl<'de> Deserialize<'de> for AutopilotConfig
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 Serialize for AutopilotConfig
impl Serialize for AutopilotConfig
impl Part for AutopilotConfig
Auto Trait Implementations§
impl Freeze for AutopilotConfig
impl RefUnwindSafe for AutopilotConfig
impl Send for AutopilotConfig
impl Sync for AutopilotConfig
impl Unpin for AutopilotConfig
impl UnwindSafe for AutopilotConfig
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