Struct scaleway_api_rs::models::scaleway_apple_silicon_v1alpha1_server_type::ScalewayAppleSiliconV1alpha1ServerType [−][src]
pub struct ScalewayAppleSiliconV1alpha1ServerType { pub cpu: Option<Box<ScalewayAppleSiliconV1alpha1ServerTypeCpu>>, pub disk: Option<Box<ScalewayAppleSiliconV1alpha1ServerTypeDisk>>, pub name: Option<String>, pub memory: Option<Box<ScalewayAppleSiliconV1alpha1ServerTypeMemory>>, pub stock: Option<Stock>, pub minimum_lease_duration: Option<String>, }
Fields
cpu: Option<Box<ScalewayAppleSiliconV1alpha1ServerTypeCpu>>
disk: Option<Box<ScalewayAppleSiliconV1alpha1ServerTypeDisk>>
name: Option<String>
Name of the type
memory: Option<Box<ScalewayAppleSiliconV1alpha1ServerTypeMemory>>
stock: Option<Stock>
Current stock
minimum_lease_duration: Option<String>
Minimum duration of the lease in seconds (example. 3.4s). (in seconds)
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more