Struct gapi_grpc::google::api::LabelDescriptor[][src]

pub struct LabelDescriptor {
    pub key: String,
    pub value_type: i32,
    pub description: String,
}

A description of a label.

Fields

key: String

The label key.

value_type: i32

The type of data that can be assigned to the label.

description: String

A human-readable description for the label.

Implementations

impl LabelDescriptor[src]

pub fn value_type(&self) -> ValueType[src]

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

pub fn set_value_type(&mut self, value: ValueType)[src]

Sets value_type to the provided enum value.

Trait Implementations

impl Clone for LabelDescriptor[src]

impl Debug for LabelDescriptor[src]

impl Default for LabelDescriptor[src]

impl Message for LabelDescriptor[src]

impl PartialEq<LabelDescriptor> for LabelDescriptor[src]

impl StructuralPartialEq for LabelDescriptor[src]

Auto Trait Implementations

impl RefUnwindSafe for LabelDescriptor

impl Send for LabelDescriptor

impl Sync for LabelDescriptor

impl Unpin for LabelDescriptor

impl UnwindSafe for LabelDescriptor

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]