Enum scaleway_api_rs::models::scaleway_period_instance_period_v1_period_boot_type::ScalewayPeriodInstancePeriodV1PeriodBootType
source · pub enum ScalewayPeriodInstancePeriodV1PeriodBootType {
Local,
Bootscript,
Rescue,
}
Expand description
Variants§
Trait Implementations§
source§impl Clone for ScalewayPeriodInstancePeriodV1PeriodBootType
impl Clone for ScalewayPeriodInstancePeriodV1PeriodBootType
source§fn clone(&self) -> ScalewayPeriodInstancePeriodV1PeriodBootType
fn clone(&self) -> ScalewayPeriodInstancePeriodV1PeriodBootType
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 Default for ScalewayPeriodInstancePeriodV1PeriodBootType
impl Default for ScalewayPeriodInstancePeriodV1PeriodBootType
source§fn default() -> ScalewayPeriodInstancePeriodV1PeriodBootType
fn default() -> ScalewayPeriodInstancePeriodV1PeriodBootType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ScalewayPeriodInstancePeriodV1PeriodBootType
impl<'de> Deserialize<'de> for ScalewayPeriodInstancePeriodV1PeriodBootType
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 Ord for ScalewayPeriodInstancePeriodV1PeriodBootType
impl Ord for ScalewayPeriodInstancePeriodV1PeriodBootType
source§fn cmp(&self, other: &ScalewayPeriodInstancePeriodV1PeriodBootType) -> Ordering
fn cmp(&self, other: &ScalewayPeriodInstancePeriodV1PeriodBootType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ScalewayPeriodInstancePeriodV1PeriodBootType> for ScalewayPeriodInstancePeriodV1PeriodBootType
impl PartialEq<ScalewayPeriodInstancePeriodV1PeriodBootType> for ScalewayPeriodInstancePeriodV1PeriodBootType
source§fn eq(&self, other: &ScalewayPeriodInstancePeriodV1PeriodBootType) -> bool
fn eq(&self, other: &ScalewayPeriodInstancePeriodV1PeriodBootType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ScalewayPeriodInstancePeriodV1PeriodBootType> for ScalewayPeriodInstancePeriodV1PeriodBootType
impl PartialOrd<ScalewayPeriodInstancePeriodV1PeriodBootType> for ScalewayPeriodInstancePeriodV1PeriodBootType
source§fn partial_cmp(
&self,
other: &ScalewayPeriodInstancePeriodV1PeriodBootType
) -> Option<Ordering>
fn partial_cmp( &self, other: &ScalewayPeriodInstancePeriodV1PeriodBootType ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ScalewayPeriodInstancePeriodV1PeriodBootType
impl Eq for ScalewayPeriodInstancePeriodV1PeriodBootType
impl StructuralEq for ScalewayPeriodInstancePeriodV1PeriodBootType
impl StructuralPartialEq for ScalewayPeriodInstancePeriodV1PeriodBootType
Auto Trait Implementations§
impl RefUnwindSafe for ScalewayPeriodInstancePeriodV1PeriodBootType
impl Send for ScalewayPeriodInstancePeriodV1PeriodBootType
impl Sync for ScalewayPeriodInstancePeriodV1PeriodBootType
impl Unpin for ScalewayPeriodInstancePeriodV1PeriodBootType
impl UnwindSafe for ScalewayPeriodInstancePeriodV1PeriodBootType
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.