Struct scaleway_api_rs::models::scaleway_instance_v1_server_location::ScalewayInstanceV1ServerLocation
source · pub struct ScalewayInstanceV1ServerLocation {
pub cluster_id: Option<String>,
pub hypervisor_id: Option<String>,
pub node_id: Option<String>,
pub platform_id: Option<String>,
pub zone_id: Option<String>,
}
Expand description
ScalewayInstanceV1ServerLocation : The server location
Fields§
§cluster_id: Option<String>
§hypervisor_id: Option<String>
§node_id: Option<String>
§platform_id: Option<String>
§zone_id: Option<String>
Implementations§
source§impl ScalewayInstanceV1ServerLocation
impl ScalewayInstanceV1ServerLocation
sourcepub fn new() -> ScalewayInstanceV1ServerLocation
pub fn new() -> ScalewayInstanceV1ServerLocation
The server location
Trait Implementations§
source§impl Clone for ScalewayInstanceV1ServerLocation
impl Clone for ScalewayInstanceV1ServerLocation
source§fn clone(&self) -> ScalewayInstanceV1ServerLocation
fn clone(&self) -> ScalewayInstanceV1ServerLocation
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 ScalewayInstanceV1ServerLocation
impl Default for ScalewayInstanceV1ServerLocation
source§fn default() -> ScalewayInstanceV1ServerLocation
fn default() -> ScalewayInstanceV1ServerLocation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ScalewayInstanceV1ServerLocation
impl<'de> Deserialize<'de> for ScalewayInstanceV1ServerLocation
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<ScalewayInstanceV1ServerLocation> for ScalewayInstanceV1ServerLocation
impl PartialEq<ScalewayInstanceV1ServerLocation> for ScalewayInstanceV1ServerLocation
source§fn eq(&self, other: &ScalewayInstanceV1ServerLocation) -> bool
fn eq(&self, other: &ScalewayInstanceV1ServerLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.