Enum openstack::compute::KeyPairType
source · #[non_exhaustive]
pub enum KeyPairType {
SSH,
X509,
}
Expand description
Type of a key pair.
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 KeyPairType
impl Clone for KeyPairType
source§fn clone(&self) -> KeyPairType
fn clone(&self) -> KeyPairType
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 KeyPairType
impl Debug for KeyPairType
source§impl<'de> Deserialize<'de> for KeyPairType
impl<'de> Deserialize<'de> for KeyPairType
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 KeyPairType
impl Display for KeyPairType
source§impl From<KeyPairType> for String
impl From<KeyPairType> for String
source§fn from(value: KeyPairType) -> String
fn from(value: KeyPairType) -> String
Converts to this type from the input type.
source§impl PartialEq<KeyPairType> for KeyPairType
impl PartialEq<KeyPairType> for KeyPairType
source§fn eq(&self, other: &KeyPairType) -> bool
fn eq(&self, other: &KeyPairType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for KeyPairType
impl Serialize for KeyPairType
impl Copy for KeyPairType
impl Eq for KeyPairType
impl StructuralEq for KeyPairType
impl StructuralPartialEq for KeyPairType
Auto Trait Implementations§
impl RefUnwindSafe for KeyPairType
impl Send for KeyPairType
impl Sync for KeyPairType
impl Unpin for KeyPairType
impl UnwindSafe for KeyPairType
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.