Struct scaleway_api_rs::models::scaleway_instance_v1_server_type_volumes_constraint::ScalewayInstanceV1ServerTypeVolumesConstraint [−][src]
pub struct ScalewayInstanceV1ServerTypeVolumesConstraint { pub min_size: Option<f32>, pub max_size: Option<f32>, }
Expand description
ScalewayInstanceV1ServerTypeVolumesConstraint : Initial volume constraints
Fields
min_size: Option<f32>
Minimum volume size in bytes (in bytes)
max_size: Option<f32>
Maximum volume size in bytes (in bytes)
Implementations
Initial volume constraints
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