pub enum UpdateChannel {
Stable,
Beta,
Alpha,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for UpdateChannel
impl Clone for UpdateChannel
Source§fn clone(&self) -> UpdateChannel
fn clone(&self) -> UpdateChannel
Returns a duplicate 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 UpdateChannel
impl Debug for UpdateChannel
Source§impl<'de> Deserialize<'de> for UpdateChannel
impl<'de> Deserialize<'de> for UpdateChannel
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 PartialEq for UpdateChannel
impl PartialEq for UpdateChannel
Source§impl Serialize for UpdateChannel
impl Serialize for UpdateChannel
impl Copy for UpdateChannel
impl Eq for UpdateChannel
impl StructuralPartialEq for UpdateChannel
Auto Trait Implementations§
impl Freeze for UpdateChannel
impl RefUnwindSafe for UpdateChannel
impl Send for UpdateChannel
impl Sync for UpdateChannel
impl Unpin for UpdateChannel
impl UnsafeUnpin for UpdateChannel
impl UnwindSafe for UpdateChannel
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<T> ConfigIO<T> for Twhere
T: DeserializeOwned + Serialize,
impl<T> ConfigIO<T> for Twhere
T: DeserializeOwned + Serialize,
fn load_conf(path: &Path) -> Result<T, StructError<ConfIOReason>>
fn save_conf(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
Source§impl<T> EnvTomlLoad<T> for Twhere
T: DeserializeOwned,
impl<T> EnvTomlLoad<T> for Twhere
T: DeserializeOwned,
fn env_load_toml( path: &Path, dict: &ValueDict, ) -> Result<T, StructError<ConfIOReason>>
fn env_parse_toml( content: &str, dict: &ValueDict, ) -> Result<T, StructError<ConfIOReason>>
Source§impl<T> EnvYamlLoad<T> for Twhere
T: DeserializeOwned,
impl<T> EnvYamlLoad<T> for Twhere
T: DeserializeOwned,
fn env_load_yaml( path: &Path, dict: &ValueDict, ) -> Result<T, StructError<ConfIOReason>>
fn env_parse_yaml( content: &str, dict: &ValueDict, ) -> Result<T, StructError<ConfIOReason>>
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.