[][src]Struct gcp_client::google::cloud::datacatalog::v1::TagTemplateField

pub struct TagTemplateField {
    pub name: String,
    pub display_name: String,
    pub type: Option<FieldType>,
    pub is_required: bool,
    pub order: i32,
}

The template for an individual field within a tag template.

Fields

name: String

Output only. The resource name of the tag template field in URL format. Example:

  • projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}

Note that this TagTemplateField may not actually be stored in the location in this name.

display_name: String

The display name for this field. Defaults to an empty string.

type: Option<FieldType>

Required. The type of value this tag field can contain.

is_required: bool

Whether this is a required field. Defaults to false.

order: i32

The order of this field with respect to other fields in this tag template. For example, a higher value can indicate a more important field. The value can be negative. Multiple fields can have the same order, and field orders within a tag do not have to be sequential.

Trait Implementations

impl Clone for TagTemplateField[src]

impl Debug for TagTemplateField[src]

impl Default for TagTemplateField[src]

impl Message for TagTemplateField[src]

impl PartialEq<TagTemplateField> for TagTemplateField[src]

impl StructuralPartialEq for TagTemplateField[src]

Auto Trait Implementations

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, 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>, 

impl<T> WithSubscriber for T[src]