pub struct ReleaseChannel(/* private fields */);Expand description
The release channel a cluster is subscribed to.
Implementations§
Source§impl ReleaseChannel
impl ReleaseChannel
Sourcepub const RELEASE_CHANNEL_UNSPECIFIED: ReleaseChannel
pub const RELEASE_CHANNEL_UNSPECIFIED: ReleaseChannel
Unspecified release channel. This will default to the REGULAR channel.
Sourcepub const NONE: ReleaseChannel
pub const NONE: ReleaseChannel
No release channel.
Sourcepub const REGULAR: ReleaseChannel
pub const REGULAR: ReleaseChannel
Regular release channel.
Sourcepub fn as_str_name(&self) -> Cow<'static, str>
pub fn as_str_name(&self) -> Cow<'static, str>
Gets the enum value as a string.
Sourcepub fn from_str_name(name: &str) -> Option<Self>
pub fn from_str_name(name: &str) -> Option<Self>
Creates an enum value from the value name.
Trait Implementations§
Source§impl Clone for ReleaseChannel
impl Clone for ReleaseChannel
Source§fn clone(&self) -> ReleaseChannel
fn clone(&self) -> ReleaseChannel
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 ReleaseChannel
impl Debug for ReleaseChannel
Source§impl Default for ReleaseChannel
impl Default for ReleaseChannel
Source§impl<'de> Deserialize<'de> for ReleaseChannel
impl<'de> Deserialize<'de> for ReleaseChannel
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 From<i32> for ReleaseChannel
impl From<i32> for ReleaseChannel
Source§impl PartialEq for ReleaseChannel
impl PartialEq for ReleaseChannel
Source§impl Serialize for ReleaseChannel
impl Serialize for ReleaseChannel
impl StructuralPartialEq for ReleaseChannel
Auto Trait Implementations§
impl Freeze for ReleaseChannel
impl RefUnwindSafe for ReleaseChannel
impl Send for ReleaseChannel
impl Sync for ReleaseChannel
impl Unpin for ReleaseChannel
impl UnwindSafe for ReleaseChannel
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