Struct gapi_grpc::google::container::v1beta1::WorkloadMetadataConfig[][src]

pub struct WorkloadMetadataConfig {
    pub node_metadata: i32,
    pub mode: i32,
}

WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool.

Fields

node_metadata: i32

NodeMetadata is the configuration for how to expose metadata to the workloads running on the node.

mode: i32

Mode is the configuration for how to expose metadata to workloads running on the node pool.

Implementations

impl WorkloadMetadataConfig[src]

pub fn node_metadata(&self) -> NodeMetadata[src]

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

pub fn set_node_metadata(&mut self, value: NodeMetadata)[src]

Sets node_metadata to the provided enum value.

pub fn mode(&self) -> Mode[src]

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

pub fn set_mode(&mut self, value: Mode)[src]

Sets mode to the provided enum value.

Trait Implementations

impl Clone for WorkloadMetadataConfig[src]

impl Debug for WorkloadMetadataConfig[src]

impl Default for WorkloadMetadataConfig[src]

impl Message for WorkloadMetadataConfig[src]

impl PartialEq<WorkloadMetadataConfig> for WorkloadMetadataConfig[src]

impl StructuralPartialEq for WorkloadMetadataConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for WorkloadMetadataConfig

impl Send for WorkloadMetadataConfig

impl Sync for WorkloadMetadataConfig

impl Unpin for WorkloadMetadataConfig

impl UnwindSafe for WorkloadMetadataConfig

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]