pub struct CreateServerRequest {
pub offer_id: String,
pub organization_id: Option<String>,
pub project_id: Option<String>,
pub name: String,
pub description: String,
pub tags: Option<Vec<String>>,
pub install: Option<Box<CreateServerRequestInstall>>,
pub option_ids: Option<Vec<String>>,
}
Fields§
§offer_id: String
Offer ID of the new server
organization_id: Option<String>
Organization ID with which the server will be created
project_id: Option<String>
Project ID with which the server will be created
name: String
Name of the server (≠hostname)
description: String
Description associated to the server, max 255 characters
Tags to associate to the server
install: Option<Box<CreateServerRequestInstall>>
§option_ids: Option<Vec<String>>
IDs of options to enable on server
Implementations§
Trait Implementations§
source§impl Clone for CreateServerRequest
impl Clone for CreateServerRequest
source§fn clone(&self) -> CreateServerRequest
fn clone(&self) -> CreateServerRequest
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 Debug for CreateServerRequest
impl Debug for CreateServerRequest
source§impl Default for CreateServerRequest
impl Default for CreateServerRequest
source§fn default() -> CreateServerRequest
fn default() -> CreateServerRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateServerRequest
impl<'de> Deserialize<'de> for CreateServerRequest
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<CreateServerRequest> for CreateServerRequest
impl PartialEq<CreateServerRequest> for CreateServerRequest
source§fn eq(&self, other: &CreateServerRequest) -> bool
fn eq(&self, other: &CreateServerRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.