#[non_exhaustive]pub struct ScheduleUpgradeConfig {
pub enabled: bool,
/* private fields */
}Expand description
Configuration for scheduled upgrades on the cluster.
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.enabled: boolOptional. Whether or not scheduled upgrades are enabled.
Implementations§
Trait Implementations§
Source§impl Clone for ScheduleUpgradeConfig
impl Clone for ScheduleUpgradeConfig
Source§fn clone(&self) -> ScheduleUpgradeConfig
fn clone(&self) -> ScheduleUpgradeConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScheduleUpgradeConfig
impl Debug for ScheduleUpgradeConfig
Source§impl Default for ScheduleUpgradeConfig
impl Default for ScheduleUpgradeConfig
Source§fn default() -> ScheduleUpgradeConfig
fn default() -> ScheduleUpgradeConfig
Returns the “default value” for a type. Read more
Source§impl Message for ScheduleUpgradeConfig
impl Message for ScheduleUpgradeConfig
Source§impl PartialEq for ScheduleUpgradeConfig
impl PartialEq for ScheduleUpgradeConfig
Source§fn eq(&self, other: &ScheduleUpgradeConfig) -> bool
fn eq(&self, other: &ScheduleUpgradeConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScheduleUpgradeConfig
Auto Trait Implementations§
impl Freeze for ScheduleUpgradeConfig
impl RefUnwindSafe for ScheduleUpgradeConfig
impl Send for ScheduleUpgradeConfig
impl Sync for ScheduleUpgradeConfig
impl Unpin for ScheduleUpgradeConfig
impl UnsafeUnpin for ScheduleUpgradeConfig
impl UnwindSafe for ScheduleUpgradeConfig
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