#[non_exhaustive]pub enum UpdatesChannel {
Stable,
Latest,
Rc,
Other(String),
}Expand description
autoUpdatesChannel.
Docs: autoUpdatesChannel.
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.
Stable
Updates follow a version that is typically about one week old and skips releases with major regressions.
Latest
Updates follow the most recent release.
Rc
Release candidates (accepted by Claude Code 2.1.322, not in the schema).
Other(String)
A value this crate doesn’t know, as written.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for UpdatesChannel
impl AsRef<str> for UpdatesChannel
Source§impl Clone for UpdatesChannel
impl Clone for UpdatesChannel
Source§impl Debug for UpdatesChannel
impl Debug for UpdatesChannel
Source§impl<'de> Deserialize<'de> for UpdatesChannel
impl<'de> Deserialize<'de> for UpdatesChannel
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for UpdatesChannel
impl Display for UpdatesChannel
impl Eq for UpdatesChannel
Source§impl From<&str> for UpdatesChannel
impl From<&str> for UpdatesChannel
Source§impl From<String> for UpdatesChannel
impl From<String> for UpdatesChannel
Source§impl Hash for UpdatesChannel
impl Hash for UpdatesChannel
Source§impl Ord for UpdatesChannel
impl Ord for UpdatesChannel
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for UpdatesChannel
impl PartialEq for UpdatesChannel
Source§impl PartialOrd for UpdatesChannel
impl PartialOrd for UpdatesChannel
Source§impl Serialize for UpdatesChannel
impl Serialize for UpdatesChannel
impl StructuralPartialEq for UpdatesChannel
Auto Trait Implementations§
impl Forget for UpdatesChannel
impl Freeze for UpdatesChannel
impl Move for UpdatesChannel
impl RefUnwindSafe for UpdatesChannel
impl Send for UpdatesChannel
impl Sync for UpdatesChannel
impl Unpin for UpdatesChannel
impl UnsafeUnpin for UpdatesChannel
impl UnwindSafe for UpdatesChannel
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