pub enum PrereleaseConfig {
Auto,
Bool(bool),
}Expand description
prerelease can be the string "auto" or a boolean.
Variants§
Trait Implementations§
Source§impl Clone for PrereleaseConfig
impl Clone for PrereleaseConfig
Source§fn clone(&self) -> PrereleaseConfig
fn clone(&self) -> PrereleaseConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PrereleaseConfig
impl Debug for PrereleaseConfig
Source§impl<'de> Deserialize<'de> for PrereleaseConfig
impl<'de> Deserialize<'de> for PrereleaseConfig
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PrereleaseConfig
impl PartialEq for PrereleaseConfig
Source§fn eq(&self, other: &PrereleaseConfig) -> bool
fn eq(&self, other: &PrereleaseConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PrereleaseConfig
impl Serialize for PrereleaseConfig
impl Eq for PrereleaseConfig
impl StructuralPartialEq for PrereleaseConfig
Auto Trait Implementations§
impl Freeze for PrereleaseConfig
impl RefUnwindSafe for PrereleaseConfig
impl Send for PrereleaseConfig
impl Sync for PrereleaseConfig
impl Unpin for PrereleaseConfig
impl UnsafeUnpin for PrereleaseConfig
impl UnwindSafe for PrereleaseConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.