Struct scaleway_api_rs::models::inline_object_13::InlineObject13[][src]

pub struct InlineObject13 {
Show fields pub name: String, pub dynamic_ip_required: Option<bool>, pub commercial_type: String, pub image: Option<String>, pub volumes: Option<HashMap<String, Value>>, pub enable_ipv6: Option<bool>, pub public_ip: Option<String>, pub boot_type: Option<BootType>, pub bootscript: Option<String>, pub organization: Option<String>, pub project: Option<String>, pub tags: Option<Vec<String>>, pub security_group: Option<String>, pub placement_group: Option<String>,
}

Fields

name: String

The server name

dynamic_ip_required: Option<bool>

Define if a dynamic IP is required for the instance

commercial_type: String

Define the server commercial type (i.e. GP1-S)

image: Option<String>

The server image ID

volumes: Option<HashMap<String, Value>>

The volumes attached to the server

enable_ipv6: Option<bool>

True if IPv6 is enabled on the server

public_ip: Option<String>

The ID of the reserved IP to attach to the server

boot_type: Option<BootType>

The boot type to use

bootscript: Option<String>

The bootscript ID to use when boot_type is set to bootscript

organization: Option<String>

The server organization ID

project: Option<String>

The server project ID

tags: Option<Vec<String>>

The server tags

security_group: Option<String>

The security group ID

placement_group: Option<String>

Placement group ID if server must be part of a placement group

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.