pub struct GeoTaxonomy {
pub regions: Option<Vec<String>>,
pub type_: Option<String>,
}Expand description
Encapsulates the geographic taxonomy data for a sku.
This type is not used in any activity, and only used as part of another schema.
Fields§
§regions: Option<Vec<String>>The list of regions associated with a sku. Empty for Global skus, which are associated with all Google Cloud regions.
type_: Option<String>The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.
Trait Implementations§
Source§impl Clone for GeoTaxonomy
impl Clone for GeoTaxonomy
Source§fn clone(&self) -> GeoTaxonomy
fn clone(&self) -> GeoTaxonomy
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 GeoTaxonomy
impl Debug for GeoTaxonomy
Source§impl Default for GeoTaxonomy
impl Default for GeoTaxonomy
Source§fn default() -> GeoTaxonomy
fn default() -> GeoTaxonomy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GeoTaxonomy
impl<'de> Deserialize<'de> for GeoTaxonomy
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 GeoTaxonomy
impl Serialize for GeoTaxonomy
impl Part for GeoTaxonomy
Auto Trait Implementations§
impl Freeze for GeoTaxonomy
impl RefUnwindSafe for GeoTaxonomy
impl Send for GeoTaxonomy
impl Sync for GeoTaxonomy
impl Unpin for GeoTaxonomy
impl UnwindSafe for GeoTaxonomy
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