pub struct ClusterFirmwareUpgradeItem {
pub exclude_device: Option<String>,
pub exclude_type: Option<String>,
pub include_device: Option<String>,
pub include_type: Option<String>,
pub no_burn: Option<bool>,
pub no_reboot: Option<bool>,
pub no_verify: Option<bool>,
pub nodes_to_upgrade: Option<Vec<i32>>,
}
Fields§
§exclude_device: Option<String>
Exclude the specified devices in the firmware upgrade.
exclude_type: Option<String>
Exclude the specified device type in the firmware upgrade.
include_device: Option<String>
Include the specified devices in the firmware upgrade.
include_type: Option<String>
Include the specified device type in the firmware upgrade.
no_burn: Option<bool>
Do not burn the firmware.
no_reboot: Option<bool>
Do not reboot the node after an upgrade
no_verify: Option<bool>
Do not verify the firmware upgrade after an upgrade.
nodes_to_upgrade: Option<Vec<i32>>
The nodes scheduled for upgrade. Order in array determines queue position number. ‘All’ and null option will upgrade all nodes in
Trait Implementations§
Source§impl Debug for ClusterFirmwareUpgradeItem
impl Debug for ClusterFirmwareUpgradeItem
Source§impl<'de> Deserialize<'de> for ClusterFirmwareUpgradeItem
impl<'de> Deserialize<'de> for ClusterFirmwareUpgradeItem
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
Auto Trait Implementations§
impl Freeze for ClusterFirmwareUpgradeItem
impl RefUnwindSafe for ClusterFirmwareUpgradeItem
impl Send for ClusterFirmwareUpgradeItem
impl Sync for ClusterFirmwareUpgradeItem
impl Unpin for ClusterFirmwareUpgradeItem
impl UnwindSafe for ClusterFirmwareUpgradeItem
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more