Struct avalanche_ops::aws::spec::Machine
source · pub struct Machine {
pub total_anchor_nodes: Option<u32>,
pub total_non_anchor_nodes: u32,
pub arch_type: String,
pub rust_os_type: String,
pub instance_mode: String,
pub ip_mode: String,
pub volume_size_in_gb: u32,
pub regional_machines: BTreeMap<String, RegionalMachine>,
}Expand description
Defines how the underlying infrastructure is set up.
Fields§
§total_anchor_nodes: Option<u32>§total_non_anchor_nodes: u32§arch_type: String§rust_os_type: String§instance_mode: StringEither “spot” or “on-demand”.
ip_mode: StringEither “elastic” or “ephemeral”.
volume_size_in_gb: u32Initial EBS volume size in GB. Can be resized with no downtime. ref. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html
regional_machines: BTreeMap<String, RegionalMachine>Trait Implementations§
source§impl<'de> Deserialize<'de> for Machine
impl<'de> Deserialize<'de> for Machine
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<Machine> for Machine
impl PartialEq<Machine> for Machine
impl Eq for Machine
impl StructuralEq for Machine
impl StructuralPartialEq for Machine
Auto Trait Implementations§
impl RefUnwindSafe for Machine
impl Send for Machine
impl Sync for Machine
impl Unpin for Machine
impl UnwindSafe for Machine
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.