pub struct AutopilotZoneUpgradeVersions {
pub target_version_voters: Vec<String>,
pub target_version_non_voters: Vec<String>,
pub other_version_voters: Vec<String>,
pub other_version_non_voters: Vec<String>,
}
Expand description
AutopilotZoneUpgradeVersions holds the list of servers in a redundancy zone for a specific version. (Enterprise only)
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§target_version_voters: Vec<String>
§target_version_non_voters: Vec<String>
§other_version_voters: Vec<String>
§other_version_non_voters: Vec<String>
Trait Implementations§
Source§impl Clone for AutopilotZoneUpgradeVersions
impl Clone for AutopilotZoneUpgradeVersions
Source§fn clone(&self) -> AutopilotZoneUpgradeVersions
fn clone(&self) -> AutopilotZoneUpgradeVersions
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 AutopilotZoneUpgradeVersions
impl Debug for AutopilotZoneUpgradeVersions
Source§impl Default for AutopilotZoneUpgradeVersions
impl Default for AutopilotZoneUpgradeVersions
Source§fn default() -> AutopilotZoneUpgradeVersions
fn default() -> AutopilotZoneUpgradeVersions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutopilotZoneUpgradeVersions
impl<'de> Deserialize<'de> for AutopilotZoneUpgradeVersions
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 AutopilotZoneUpgradeVersions
impl PartialEq for AutopilotZoneUpgradeVersions
Source§fn eq(&self, other: &AutopilotZoneUpgradeVersions) -> bool
fn eq(&self, other: &AutopilotZoneUpgradeVersions) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AutopilotZoneUpgradeVersions
Auto Trait Implementations§
impl Freeze for AutopilotZoneUpgradeVersions
impl RefUnwindSafe for AutopilotZoneUpgradeVersions
impl Send for AutopilotZoneUpgradeVersions
impl Sync for AutopilotZoneUpgradeVersions
impl Unpin for AutopilotZoneUpgradeVersions
impl UnwindSafe for AutopilotZoneUpgradeVersions
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