pub struct ComputeMachineOption {
pub machine: String,
pub profile: MachineProfile,
pub recommended: bool,
}Expand description
One concrete provider machine option.
Fields§
§machine: StringProvider machine name.
profile: MachineProfileMachine hardware profile.
recommended: boolWhether this machine is the planner’s default recommendation.
Trait Implementations§
Source§impl Clone for ComputeMachineOption
impl Clone for ComputeMachineOption
Source§fn clone(&self) -> ComputeMachineOption
fn clone(&self) -> ComputeMachineOption
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 ComputeMachineOption
impl Debug for ComputeMachineOption
Source§impl<'de> Deserialize<'de> for ComputeMachineOption
impl<'de> Deserialize<'de> for ComputeMachineOption
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 ComputeMachineOption
impl PartialEq for ComputeMachineOption
Source§fn eq(&self, other: &ComputeMachineOption) -> bool
fn eq(&self, other: &ComputeMachineOption) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ComputeMachineOption
impl Serialize for ComputeMachineOption
impl StructuralPartialEq for ComputeMachineOption
Auto Trait Implementations§
impl Freeze for ComputeMachineOption
impl RefUnwindSafe for ComputeMachineOption
impl Send for ComputeMachineOption
impl Sync for ComputeMachineOption
impl Unpin for ComputeMachineOption
impl UnsafeUnpin for ComputeMachineOption
impl UnwindSafe for ComputeMachineOption
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