Struct openstack::compute::Server

source ·
pub struct Server { /* private fields */ }
Expand description

Structure representing a single server.

Implementations

IPv4 address to access the server (if provided).

IPv6 address to access the server (if provided).

Addresses (floating and fixed) associated with the server.

Availability zone.

Creation date and time.

Server description.

Flavor information used to create this server.

Find a floating IP, if it exists.

If multiple floating IPs exist, the first is returned.

Whether the server was created with a config drive.

Whether the server has an image.

May return false if the server was created from a volume.

Server unique ID.

Fetch the associated image.

Fails with ResourceNotFound if the server does not have an image.

Get a reference to the image.

May be None if the server was created from a volume.

Fetch the key pair used for the server.

Name of a key pair used with this server (if any).

Server name.

Metadata associated with the server.

Server power state.

Server status.

Last update date and time.

Delete the server.

Reboot the server.

Start the server, optionally wait for it to be active.

Stop the server, optionally wait for it to be powered off.

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

Refresh the server.

Default timeout for this action. Read more
Default delay between two retries.
Error to return on timeout.
Update the current state of the action. Read more
Wait for the default amount of time. Read more
Wait for specified amount of time. Read more
Wait for specified amount of time.
Wait forever.
Wait forever with given delay between attempts.
Get the current representation of the resource. Read more
Get the current representation of the resource. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.