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

pub struct Flavor { /* fields omitted */ }

Structure representing a flavor.

Methods

impl Flavor
[src]

[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 Clone for Flavor
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Flavor
[src]

[src]

Formats the value using the given formatter. Read more

impl Refresh for Flavor
[src]

[src]

Refresh the flavor.

impl ResourceId for Flavor
[src]

[src]

Identifier of the current resource.

impl ListResources for Flavor
[src]

DEFAULT_LIMIT: usize = 50

Default limit to use with this resource.

[src]

List the resources from the session.

[src]

Whether pagination is supported for this resource.

impl From<Flavor> for FlavorRef
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl !Send for Flavor

impl !Sync for Flavor