pub enum CapacityType {
OnDemand,
Spot,
}Expand description
Whether a node is billed as standard on-demand capacity or as interruptible spot/preemptible capacity.
Variants§
OnDemand
Standard, non-interruptible capacity.
Spot
Interruptible, discounted capacity (spot / preemptible).
Trait Implementations§
Source§impl Clone for CapacityType
impl Clone for CapacityType
Source§fn clone(&self) -> CapacityType
fn clone(&self) -> CapacityType
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 moreimpl Copy for CapacityType
Source§impl Debug for CapacityType
impl Debug for CapacityType
Source§impl Default for CapacityType
impl Default for CapacityType
Source§fn default() -> CapacityType
fn default() -> CapacityType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CapacityType
impl<'de> Deserialize<'de> for CapacityType
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
impl Eq for CapacityType
Source§impl PartialEq for CapacityType
impl PartialEq for CapacityType
Source§fn eq(&self, other: &CapacityType) -> bool
fn eq(&self, other: &CapacityType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CapacityType
impl Serialize for CapacityType
impl StructuralPartialEq for CapacityType
Auto Trait Implementations§
impl Freeze for CapacityType
impl RefUnwindSafe for CapacityType
impl Send for CapacityType
impl Sync for CapacityType
impl Unpin for CapacityType
impl UnsafeUnpin for CapacityType
impl UnwindSafe for CapacityType
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