Enum openstack::image::ImageContainerFormat
source · #[non_exhaustive]
pub enum ImageContainerFormat {
AMI,
ARI,
AKI,
Bare,
OVF,
OVA,
Docker,
}
Expand description
Possible container formats.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for ImageContainerFormat
impl Clone for ImageContainerFormat
source§fn clone(&self) -> ImageContainerFormat
fn clone(&self) -> ImageContainerFormat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImageContainerFormat
impl Debug for ImageContainerFormat
source§impl<'de> Deserialize<'de> for ImageContainerFormat
impl<'de> Deserialize<'de> for ImageContainerFormat
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for ImageContainerFormat
impl Display for ImageContainerFormat
source§impl From<ImageContainerFormat> for String
impl From<ImageContainerFormat> for String
source§fn from(value: ImageContainerFormat) -> String
fn from(value: ImageContainerFormat) -> String
Converts to this type from the input type.
source§impl PartialEq<ImageContainerFormat> for ImageContainerFormat
impl PartialEq<ImageContainerFormat> for ImageContainerFormat
source§fn eq(&self, other: &ImageContainerFormat) -> bool
fn eq(&self, other: &ImageContainerFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImageContainerFormat
impl Serialize for ImageContainerFormat
impl Copy for ImageContainerFormat
impl Eq for ImageContainerFormat
impl StructuralEq for ImageContainerFormat
impl StructuralPartialEq for ImageContainerFormat
Auto Trait Implementations§
impl RefUnwindSafe for ImageContainerFormat
impl Send for ImageContainerFormat
impl Sync for ImageContainerFormat
impl Unpin for ImageContainerFormat
impl UnwindSafe for ImageContainerFormat
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.