pub struct GoogleCloudLocationLocation {
pub display_name: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub location_id: Option<String>,
pub metadata: Option<HashMap<String, Value>>,
pub name: Option<String>,
}
Expand description
A resource that represents a Google Cloud location.
§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).
- locations get projects (response)
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"
.
metadata: Option<HashMap<String, Value>>
Service-specific metadata. For example the available capacity at the given location.
name: Option<String>
Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1"
Trait Implementations§
source§impl Clone for GoogleCloudLocationLocation
impl Clone for GoogleCloudLocationLocation
source§fn clone(&self) -> GoogleCloudLocationLocation
fn clone(&self) -> GoogleCloudLocationLocation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GoogleCloudLocationLocation
impl Debug for GoogleCloudLocationLocation
source§impl Default for GoogleCloudLocationLocation
impl Default for GoogleCloudLocationLocation
source§fn default() -> GoogleCloudLocationLocation
fn default() -> GoogleCloudLocationLocation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudLocationLocation
impl<'de> Deserialize<'de> for GoogleCloudLocationLocation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl ResponseResult for GoogleCloudLocationLocation
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudLocationLocation
impl Send for GoogleCloudLocationLocation
impl Sync for GoogleCloudLocationLocation
impl Unpin for GoogleCloudLocationLocation
impl UnwindSafe for GoogleCloudLocationLocation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more