pub struct ApigatewayLocation {
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 ApigatewayLocation
impl Clone for ApigatewayLocation
Source§fn clone(&self) -> ApigatewayLocation
fn clone(&self) -> ApigatewayLocation
Returns a duplicate 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 ApigatewayLocation
impl Debug for ApigatewayLocation
Source§impl Default for ApigatewayLocation
impl Default for ApigatewayLocation
Source§fn default() -> ApigatewayLocation
fn default() -> ApigatewayLocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApigatewayLocation
impl<'de> Deserialize<'de> for ApigatewayLocation
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
Source§impl Serialize for ApigatewayLocation
impl Serialize for ApigatewayLocation
impl ResponseResult for ApigatewayLocation
Auto Trait Implementations§
impl Freeze for ApigatewayLocation
impl RefUnwindSafe for ApigatewayLocation
impl Send for ApigatewayLocation
impl Sync for ApigatewayLocation
impl Unpin for ApigatewayLocation
impl UnwindSafe for ApigatewayLocation
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