#[non_exhaustive]pub struct ReleaseChannel {
pub channel: Channel,
}Expand description
ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk.
When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.channel: Channelchannel specifies which release channel the cluster is subscribed to.
Implementations§
Source§impl ReleaseChannel
impl ReleaseChannel
Sourcepub fn set_channel<T: Into<Channel>>(self, v: T) -> Self
pub fn set_channel<T: Into<Channel>>(self, v: T) -> Self
Sets the value of channel.
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§fn default() -> ReleaseChannel
fn default() -> ReleaseChannel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReleaseChannelwhere
ReleaseChannel: Default,
impl<'de> Deserialize<'de> for ReleaseChannelwhere
ReleaseChannel: Default,
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 Message for ReleaseChannel
impl Message 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