[][src]Struct openstack::image::Image

pub struct Image { /* fields omitted */ }

Structure representing a single image.

Implementations

impl Image[src]

pub fn architecture(&self) -> &Option<String>[src]

Image architecture.

pub fn checksum(&self) -> &Option<String>[src]

Checksum of the image.

pub fn container_format(&self) -> Option<ImageContainerFormat>[src]

Container format.

pub fn created_at(&self) -> DateTime<FixedOffset>[src]

Creating date and time.

pub fn disk_format(&self) -> Option<ImageDiskFormat>[src]

Disk format.

pub fn id(&self) -> &String[src]

Unique ID.

pub fn minimum_required_disk(&self) -> u32[src]

Minimum required disk size in GiB.

Can be zero, if no requirements are known.

pub fn minimum_required_ram(&self) -> u32[src]

Minimum required disk size in GiB, if set.

Can be zero, if no requirements are known.

pub fn name(&self) -> &String[src]

Image name.

pub fn size(&self) -> Option<u64>[src]

Image size in bytes.

pub fn status(&self) -> ImageStatus[src]

Image status.

pub fn updated_at(&self) -> DateTime<FixedOffset>[src]

Last update date and time.

pub fn virtual_size(&self) -> Option<u64>[src]

Virtual size of the image.

pub fn visibility(&self) -> ImageVisibility[src]

Image visibility.

Trait Implementations

impl Clone for Image[src]

impl Debug for Image[src]

impl From<Image> for ImageRef[src]

impl Refresh for Image[src]

fn refresh(&mut self) -> Result<()>[src]

Refresh the image.

Auto Trait Implementations

impl !RefUnwindSafe for Image

impl !Send for Image

impl !Sync for Image

impl Unpin for Image

impl !UnwindSafe for Image

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.