[][src]Struct google_cloudfunctions1::Location

pub struct Location {
    pub display_name: Option<String>,
    pub labels: Option<HashMap<String, String>>,
    pub location_id: Option<String>,
    pub name: Option<String>,
    pub metadata: Option<HashMap<String, String>>,
}

A resource that represents Google Cloud Platform location.

This type is not used in any activity, and only used as part of another schema.

Fields

display_name: Option<String>

The friendly name for this location, typically a nearby city name. For example, "Tokyo".

labels: Option<HashMap<String, String>>

Cross-service attributes for the location. For example

{"cloud.googleapis.com/region": "us-east1"}````
location_id: Option<String>

The canonical id for this location. For example: "us-east1".

name: Option<String>

Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1"

metadata: Option<HashMap<String, String>>

Service-specific metadata. For example the available capacity at the given location.

Trait Implementations

impl Part for Location[src]

impl Default for Location[src]

impl Clone for Location[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Location[src]

impl Serialize for Location[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]