Struct scaleway_api_rs::models::scaleway_period_rdb_period_v1_period_node_type::ScalewayPeriodRdbPeriodV1PeriodNodeType
source · pub struct ScalewayPeriodRdbPeriodV1PeriodNodeType {
pub name: Option<String>,
pub stock_status: Option<StockStatus>,
pub description: Option<String>,
pub vcpus: Option<i32>,
pub memory: Option<i32>,
pub volume_constraint: Option<Box<ScalewayRdbV1NodeTypeVolumeConstraint>>,
pub is_bssd_compatible: Option<bool>,
pub disabled: Option<bool>,
pub beta: Option<bool>,
pub available_volume_types: Option<Vec<ScalewayPeriodRdbPeriodV1PeriodNodeTypePeriodVolumeType>>,
pub is_ha_required: Option<bool>,
pub region: Option<String>,
}
Fields§
§name: Option<String>
Node Type name identifier
stock_status: Option<StockStatus>
Current stock status for the Node Type
description: Option<String>
Current specs of the offer
vcpus: Option<i32>
Number of virtual CPUs
memory: Option<i32>
Quantity of RAM (in bytes)
volume_constraint: Option<Box<ScalewayRdbV1NodeTypeVolumeConstraint>>
§is_bssd_compatible: Option<bool>
The Node Type is compliant with Block Storage
disabled: Option<bool>
The Node Type is currently disabled
beta: Option<bool>
The Node Type is currently in beta
available_volume_types: Option<Vec<ScalewayPeriodRdbPeriodV1PeriodNodeTypePeriodVolumeType>>
Available storage options for the Node Type
is_ha_required: Option<bool>
The Node Type can be used only with high availability option
region: Option<String>
Region the Node Type is in
Implementations§
Trait Implementations§
source§impl Clone for ScalewayPeriodRdbPeriodV1PeriodNodeType
impl Clone for ScalewayPeriodRdbPeriodV1PeriodNodeType
source§fn clone(&self) -> ScalewayPeriodRdbPeriodV1PeriodNodeType
fn clone(&self) -> ScalewayPeriodRdbPeriodV1PeriodNodeType
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 Default for ScalewayPeriodRdbPeriodV1PeriodNodeType
impl Default for ScalewayPeriodRdbPeriodV1PeriodNodeType
source§fn default() -> ScalewayPeriodRdbPeriodV1PeriodNodeType
fn default() -> ScalewayPeriodRdbPeriodV1PeriodNodeType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ScalewayPeriodRdbPeriodV1PeriodNodeType
impl<'de> Deserialize<'de> for ScalewayPeriodRdbPeriodV1PeriodNodeType
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<ScalewayPeriodRdbPeriodV1PeriodNodeType> for ScalewayPeriodRdbPeriodV1PeriodNodeType
impl PartialEq<ScalewayPeriodRdbPeriodV1PeriodNodeType> for ScalewayPeriodRdbPeriodV1PeriodNodeType
source§fn eq(&self, other: &ScalewayPeriodRdbPeriodV1PeriodNodeType) -> bool
fn eq(&self, other: &ScalewayPeriodRdbPeriodV1PeriodNodeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.