#[non_exhaustive]pub struct LocationMetadata {
pub available_zones: HashMap<String, ZoneMetadata>,
/* private fields */
}Expand description
Metadata for the given google.cloud.location.Location.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.available_zones: HashMap<String, ZoneMetadata>Output only. The set of available zones in the location. The map is keyed
by the lowercase ID of each zone, as defined by GCE. These keys can be
specified in the zones field when creating a Memcached instance.
Implementations§
Source§impl LocationMetadata
impl LocationMetadata
pub fn new() -> Self
Sourcepub fn set_available_zones<T, K, V>(self, v: T) -> Self
pub fn set_available_zones<T, K, V>(self, v: T) -> Self
Sets the value of available_zones.
Trait Implementations§
Source§impl Clone for LocationMetadata
impl Clone for LocationMetadata
Source§fn clone(&self) -> LocationMetadata
fn clone(&self) -> LocationMetadata
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 LocationMetadata
impl Debug for LocationMetadata
Source§impl Default for LocationMetadata
impl Default for LocationMetadata
Source§fn default() -> LocationMetadata
fn default() -> LocationMetadata
Returns the “default value” for a type. Read more
Source§impl Message for LocationMetadata
impl Message for LocationMetadata
Source§impl PartialEq for LocationMetadata
impl PartialEq for LocationMetadata
impl StructuralPartialEq for LocationMetadata
Auto Trait Implementations§
impl Freeze for LocationMetadata
impl RefUnwindSafe for LocationMetadata
impl Send for LocationMetadata
impl Sync for LocationMetadata
impl Unpin for LocationMetadata
impl UnwindSafe for LocationMetadata
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