Struct google_servicedirectory1::api::Namespace[][src]

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

A container for services. Namespaces allow administrators to group services together and define permissions for a collection of services.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

labels: Option<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.

name: Option<String>

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

Trait Implementations

impl Clone for Namespace[src]

impl Debug for Namespace[src]

impl Default for Namespace[src]

impl<'de> Deserialize<'de> for Namespace[src]

impl RequestValue for Namespace[src]

impl ResponseResult for Namespace[src]

impl Serialize for Namespace[src]

Auto Trait Implementations

impl RefUnwindSafe for Namespace[src]

impl Send for Namespace[src]

impl Sync for Namespace[src]

impl Unpin for Namespace[src]

impl UnwindSafe for Namespace[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> 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.