Struct gapi_grpc::google::cloud::servicedirectory::v1beta1::Namespace[][src]

pub struct Namespace {
    pub name: String,
    pub labels: HashMap<String, String>,
}

A container for [services][google.cloud.servicedirectory.v1beta1.Service]. Namespaces allow administrators to group services together and define permissions for a collection of services.

Fields

name: String

Immutable. The resource name for the namespace in the format ‘projects//locations//namespaces/*’.

labels: HashMap<String, String>

Optional. Resource labels associated with this Namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters.

Trait Implementations

impl Clone for Namespace[src]

impl Debug for Namespace[src]

impl Default for Namespace[src]

impl Message for Namespace[src]

impl PartialEq<Namespace> for Namespace[src]

impl StructuralPartialEq for Namespace[src]

Auto Trait Implementations

impl RefUnwindSafe for Namespace

impl Send for Namespace

impl Sync for Namespace

impl Unpin for Namespace

impl UnwindSafe for Namespace

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]