Struct openstack::compute::Flavor [] [src]

pub struct Flavor<'session> { /* fields omitted */ }

Structure representing a flavor.

Methods

impl<'session> Flavor<'session>
[src]

[src]

Refresh the server.

[src]

Get ephemeral disk size in GiB.

Returns 0 when ephemeral disk was not requested.

[src]

Get a reference to flavor unique ID.

[src]

Whether the flavor is public.

[src]

Get a reference to flavor name.

[src]

Get RAM size in MiB.

[src]

Get root disk size in GiB.

[src]

Get swap size in MiB.

Returns 0 when swap was not requested.

[src]

Get VCPU count.

Trait Implementations

impl<'session> Clone for Flavor<'session>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'session> Debug for Flavor<'session>
[src]

[src]

Formats the value using the given formatter.

impl<'session> ResourceId for Flavor<'session>
[src]

[src]

Identifier of the current resource.

impl<'session> ListResources<'session> for Flavor<'session>
[src]

DEFAULT_LIMIT: usize = 50

Default limit to use with this resource.

[src]

List the resources from the session.

impl<'session> ToFlavorId for Flavor<'session>
[src]

[src]

Get flavor ID as a string.