Struct gapi_grpc::google::cloud::resourcesettings::v1::SettingMetadata[][src]

pub struct SettingMetadata {
    pub display_name: String,
    pub description: String,
    pub read_only: bool,
    pub data_type: i32,
    pub default_value: Option<Value>,
}

Metadata about a setting which is not editable by the end user.

Fields

display_name: String

The human readable name for this setting.

description: String

A detailed description of what this setting does.

read_only: bool

A flag indicating that values of this setting cannot be modified (see documentation of the specific setting for updates and reasons).

data_type: i32

The data type for this setting.

default_value: Option<Value>

The value provided by [Setting.effective_value][google.cloud.resourcesettings.v1.Setting.effective_value] if no setting value is explicitly set.

Note: not all settings have a default value.

Implementations

impl SettingMetadata[src]

pub fn data_type(&self) -> DataType[src]

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

pub fn set_data_type(&mut self, value: DataType)[src]

Sets data_type to the provided enum value.

Trait Implementations

impl Clone for SettingMetadata[src]

impl Debug for SettingMetadata[src]

impl Default for SettingMetadata[src]

impl Message for SettingMetadata[src]

impl PartialEq<SettingMetadata> for SettingMetadata[src]

impl StructuralPartialEq for SettingMetadata[src]

Auto Trait Implementations

impl RefUnwindSafe for SettingMetadata

impl Send for SettingMetadata

impl Sync for SettingMetadata

impl Unpin for SettingMetadata

impl UnwindSafe for SettingMetadata

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]