Struct scaleway_api_rs::models::scaleway_period_instance_period_v1_period_image::ScalewayPeriodInstancePeriodV1PeriodImage
source · pub struct ScalewayPeriodInstancePeriodV1PeriodImage {Show 15 fields
pub id: Option<String>,
pub name: Option<String>,
pub arch: Option<ScalewayPeriodInstancePeriodV1PeriodArch>,
pub creation_date: Option<Option<String>>,
pub modification_date: Option<Option<String>>,
pub default_bootscript: Option<Box<ScalewayPeriodInstancePeriodV1PeriodBootscript>>,
pub extra_volumes: Option<SetImageRequestExtraVolumes>,
pub from_server: Option<String>,
pub organization: Option<String>,
pub public: Option<bool>,
pub root_volume: Option<Box<ScalewayPeriodInstancePeriodV1PeriodVolumeSummary>>,
pub state: Option<ScalewayPeriodInstancePeriodV1PeriodImagePeriodState>,
pub project: Option<String>,
pub tags: Option<Vec<String>>,
pub zone: Option<String>,
}
Fields§
§id: Option<String>
§name: Option<String>
§arch: Option<ScalewayPeriodInstancePeriodV1PeriodArch>
§creation_date: Option<Option<String>>
(RFC 3339 format)
modification_date: Option<Option<String>>
(RFC 3339 format)
default_bootscript: Option<Box<ScalewayPeriodInstancePeriodV1PeriodBootscript>>
§extra_volumes: Option<SetImageRequestExtraVolumes>
§from_server: Option<String>
§organization: Option<String>
§public: Option<bool>
§root_volume: Option<Box<ScalewayPeriodInstancePeriodV1PeriodVolumeSummary>>
§state: Option<ScalewayPeriodInstancePeriodV1PeriodImagePeriodState>
§project: Option<String>
§zone: Option<String>
Implementations§
Trait Implementations§
source§impl Clone for ScalewayPeriodInstancePeriodV1PeriodImage
impl Clone for ScalewayPeriodInstancePeriodV1PeriodImage
source§fn clone(&self) -> ScalewayPeriodInstancePeriodV1PeriodImage
fn clone(&self) -> ScalewayPeriodInstancePeriodV1PeriodImage
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 ScalewayPeriodInstancePeriodV1PeriodImage
impl Default for ScalewayPeriodInstancePeriodV1PeriodImage
source§fn default() -> ScalewayPeriodInstancePeriodV1PeriodImage
fn default() -> ScalewayPeriodInstancePeriodV1PeriodImage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ScalewayPeriodInstancePeriodV1PeriodImage
impl<'de> Deserialize<'de> for ScalewayPeriodInstancePeriodV1PeriodImage
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<ScalewayPeriodInstancePeriodV1PeriodImage> for ScalewayPeriodInstancePeriodV1PeriodImage
impl PartialEq<ScalewayPeriodInstancePeriodV1PeriodImage> for ScalewayPeriodInstancePeriodV1PeriodImage
source§fn eq(&self, other: &ScalewayPeriodInstancePeriodV1PeriodImage) -> bool
fn eq(&self, other: &ScalewayPeriodInstancePeriodV1PeriodImage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.