[][src]Struct openstack::compute::ServerFlavor

pub struct ServerFlavor {
    pub ephemeral_size: u64,
    pub extra_specs: Option<HashMap<String, String>>,
    pub original_name: String,
    pub ram_size: u64,
    pub root_size: u64,
    pub swap_size: u64,
    pub vcpu_count: u32,
}

A summary information of a flavor used for a server.

Fields

ephemeral_size: u64

Ephemeral disk size in GiB.

extra_specs: Option<HashMap<String, String>>

Extra specs (if present).

original_name: String

Name of the original flavor.

ram_size: u64

RAM size in MiB.

root_size: u64

Root disk size in GiB.

swap_size: u64

Swap disk size in MiB.

vcpu_count: u32

VCPU count.

Trait Implementations

impl Clone for ServerFlavor[src]

impl Debug for ServerFlavor[src]

impl From<Flavor> for ServerFlavor[src]

Auto Trait Implementations

impl RefUnwindSafe for ServerFlavor

impl Send for ServerFlavor

impl Sync for ServerFlavor

impl Unpin for ServerFlavor

impl UnwindSafe for ServerFlavor

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.