Struct google_datamigration1::api::MachineConfig
source · pub struct MachineConfig {
pub cpu_count: Option<i32>,
}
Expand description
MachineConfig describes the configuration of a machine.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cpu_count: Option<i32>
The number of CPU’s in the VM instance.
Trait Implementations§
source§impl Clone for MachineConfig
impl Clone for MachineConfig
source§fn clone(&self) -> MachineConfig
fn clone(&self) -> MachineConfig
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 MachineConfig
impl Debug for MachineConfig
source§impl Default for MachineConfig
impl Default for MachineConfig
source§fn default() -> MachineConfig
fn default() -> MachineConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MachineConfig
impl<'de> Deserialize<'de> for MachineConfig
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 Serialize for MachineConfig
impl Serialize for MachineConfig
impl Part for MachineConfig
Auto Trait Implementations§
impl RefUnwindSafe for MachineConfig
impl Send for MachineConfig
impl Sync for MachineConfig
impl Unpin for MachineConfig
impl UnwindSafe for MachineConfig
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