Struct gapi_grpc::google::cloud::datacatalog::v1::SerializedTaxonomy[][src]

pub struct SerializedTaxonomy {
    pub display_name: String,
    pub description: String,
    pub policy_tags: Vec<SerializedPolicyTag>,
    pub activated_policy_types: Vec<i32>,
}

Message representing a taxonomy, including its policy tags in hierarchy, as a nested proto. Used for taxonomy replacement, import, and export.

Fields

display_name: String

Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8.

description: String

Description of the serialized taxonomy. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.

policy_tags: Vec<SerializedPolicyTag>

Top level policy tags associated with the taxonomy, if any.

activated_policy_types: Vec<i32>

A list of policy types that are activated per taxonomy.

Implementations

impl SerializedTaxonomy[src]

pub fn activated_policy_types(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<PolicyType>>
[src]

Returns an iterator which yields the valid enum values contained in activated_policy_types.

pub fn push_activated_policy_types(&mut self, value: PolicyType)[src]

Appends the provided enum value to activated_policy_types.

Trait Implementations

impl Clone for SerializedTaxonomy[src]

impl Debug for SerializedTaxonomy[src]

impl Default for SerializedTaxonomy[src]

impl Message for SerializedTaxonomy[src]

impl PartialEq<SerializedTaxonomy> for SerializedTaxonomy[src]

impl StructuralPartialEq for SerializedTaxonomy[src]

Auto Trait Implementations

impl RefUnwindSafe for SerializedTaxonomy

impl Send for SerializedTaxonomy

impl Sync for SerializedTaxonomy

impl Unpin for SerializedTaxonomy

impl UnwindSafe for SerializedTaxonomy

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]