Struct scaleway_api_rs::models::scaleway_instance_v1_server_type::ScalewayInstanceV1ServerType [−][src]
pub struct ScalewayInstanceV1ServerType { pub monthly_price: Option<f32>, pub hourly_price: Option<f32>, pub alt_names: Option<Vec<String>>, pub per_volume_constraint: Option<Box<ScalewayInstanceV1ServerTypePerVolumeConstraint>>, pub volumes_constraint: Option<Box<ScalewayInstanceV1ServerTypeVolumesConstraint>>, pub ncpus: Option<f32>, pub gpu: Option<f32>, pub ram: Option<f32>, pub arch: Option<Arch>, pub baremetal: Option<bool>, pub network: Option<Box<ScalewayInstanceV1ServerTypeNetwork>>, }
Fields
monthly_price: Option<f32>
Estimated monthly price, for a 30 days month, in Euro
hourly_price: Option<f32>
Hourly price in Euro
alt_names: Option<Vec<String>>
Alternative instance name if any
per_volume_constraint: Option<Box<ScalewayInstanceV1ServerTypePerVolumeConstraint>>
volumes_constraint: Option<Box<ScalewayInstanceV1ServerTypeVolumesConstraint>>
ncpus: Option<f32>
Number of CPU
gpu: Option<f32>
Number of GPU
ram: Option<f32>
Available RAM in bytes
arch: Option<Arch>
CPU architecture
baremetal: Option<bool>
True if it is a baremetal instance
network: Option<Box<ScalewayInstanceV1ServerTypeNetwork>>
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
impl Send for ScalewayInstanceV1ServerType
impl Sync for ScalewayInstanceV1ServerType
impl Unpin for ScalewayInstanceV1ServerType
impl UnwindSafe for ScalewayInstanceV1ServerType
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more