Struct scaleway_api_rs::models::scaleway_period_baremetal_period_v1_period_server::ScalewayPeriodBaremetalPeriodV1PeriodServer
source · pub struct ScalewayPeriodBaremetalPeriodV1PeriodServer {Show 19 fields
pub id: Option<String>,
pub organization_id: Option<String>,
pub project_id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub updated_at: Option<Option<String>>,
pub created_at: Option<Option<String>>,
pub status: Option<Status>,
pub offer_id: Option<String>,
pub offer_name: Option<String>,
pub tags: Option<Vec<String>>,
pub ips: Option<Vec<ScalewayPeriodBaremetalPeriodV1PeriodIp>>,
pub domain: Option<String>,
pub boot_type: Option<BootType>,
pub zone: Option<String>,
pub install: Option<Box<ScalewayBaremetalV1ServerInstall>>,
pub ping_status: Option<PingStatus>,
pub options: Option<Vec<ScalewayPeriodBaremetalPeriodV1PeriodServerPeriodOption>>,
pub rescue_server: Option<Box<ScalewayBaremetalV1ServerRescueServer>>,
}
Fields§
§id: Option<String>
ID of the server
organization_id: Option<String>
Organization ID the server is attached to
project_id: Option<String>
Project ID the server is attached to
name: Option<String>
Name of the server
description: Option<String>
Description of the server
updated_at: Option<Option<String>>
Date of last modification of the server (RFC 3339 format)
created_at: Option<Option<String>>
Date of creation of the server (RFC 3339 format)
status: Option<Status>
Status of the server
offer_id: Option<String>
Offer ID of the server
offer_name: Option<String>
Offer name of the server
Array of customs tags attached to the server
ips: Option<Vec<ScalewayPeriodBaremetalPeriodV1PeriodIp>>
Array of IPs attached to the server
domain: Option<String>
Domain of the server
boot_type: Option<BootType>
Boot type of the server
zone: Option<String>
The zone in which is the server
install: Option<Box<ScalewayBaremetalV1ServerInstall>>
§ping_status: Option<PingStatus>
Server status of ping
options: Option<Vec<ScalewayPeriodBaremetalPeriodV1PeriodServerPeriodOption>>
Options enabled on server
rescue_server: Option<Box<ScalewayBaremetalV1ServerRescueServer>>
Implementations§
Trait Implementations§
source§impl Clone for ScalewayPeriodBaremetalPeriodV1PeriodServer
impl Clone for ScalewayPeriodBaremetalPeriodV1PeriodServer
source§fn clone(&self) -> ScalewayPeriodBaremetalPeriodV1PeriodServer
fn clone(&self) -> ScalewayPeriodBaremetalPeriodV1PeriodServer
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 ScalewayPeriodBaremetalPeriodV1PeriodServer
impl Default for ScalewayPeriodBaremetalPeriodV1PeriodServer
source§fn default() -> ScalewayPeriodBaremetalPeriodV1PeriodServer
fn default() -> ScalewayPeriodBaremetalPeriodV1PeriodServer
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ScalewayPeriodBaremetalPeriodV1PeriodServer
impl<'de> Deserialize<'de> for ScalewayPeriodBaremetalPeriodV1PeriodServer
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<ScalewayPeriodBaremetalPeriodV1PeriodServer> for ScalewayPeriodBaremetalPeriodV1PeriodServer
impl PartialEq<ScalewayPeriodBaremetalPeriodV1PeriodServer> for ScalewayPeriodBaremetalPeriodV1PeriodServer
source§fn eq(&self, other: &ScalewayPeriodBaremetalPeriodV1PeriodServer) -> bool
fn eq(&self, other: &ScalewayPeriodBaremetalPeriodV1PeriodServer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.