Struct gapi_grpc::google::container::v1::server_config::ReleaseChannelConfig[][src]

pub struct ReleaseChannelConfig {
    pub channel: i32,
    pub default_version: String,
    pub valid_versions: Vec<String>,
}

ReleaseChannelConfig exposes configuration for a release channel.

Fields

channel: i32

The release channel this configuration applies to.

default_version: String

The default version for newly created clusters on the channel.

valid_versions: Vec<String>

List of valid versions for the channel.

Implementations

impl ReleaseChannelConfig[src]

pub fn channel(&self) -> Channel[src]

Returns the enum value of channel, or the default if the field is set to an invalid enum value.

pub fn set_channel(&mut self, value: Channel)[src]

Sets channel to the provided enum value.

Trait Implementations

impl Clone for ReleaseChannelConfig[src]

impl Debug for ReleaseChannelConfig[src]

impl Default for ReleaseChannelConfig[src]

impl Message for ReleaseChannelConfig[src]

impl PartialEq<ReleaseChannelConfig> for ReleaseChannelConfig[src]

impl StructuralPartialEq for ReleaseChannelConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for ReleaseChannelConfig

impl Send for ReleaseChannelConfig

impl Sync for ReleaseChannelConfig

impl Unpin for ReleaseChannelConfig

impl UnwindSafe for ReleaseChannelConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]