Struct google_api_proto::google::api::cloudquotas::v1::DimensionsInfo
source · pub struct DimensionsInfo {
pub dimensions: BTreeMap<String, String>,
pub details: Option<QuotaDetails>,
pub applicable_locations: Vec<String>,
}
Expand description
The detailed quota information such as effective quota value for a combination of dimensions.
Fields§
§dimensions: BTreeMap<String, String>
The map of dimensions for this dimensions info. The key of a map entry is “region”, “zone” or the name of a service specific dimension, and the value of a map entry is the value of the dimension. If a dimension does not appear in the map of dimensions, the dimensions info applies to all the dimension values except for those that have another DimenisonInfo instance configured for the specific value. Example: {“provider” : “Foo Inc”} where “provider” is a service specific dimension of a quota.
details: Option<QuotaDetails>
Quota details for the specified dimensions.
applicable_locations: Vec<String>
The applicable regions or zones of this dimensions info. The field will be set to [‘global’] for quotas that are not per region or per zone. Otherwise, it will be set to the list of locations this dimension info is applicable to.
Trait Implementations§
source§impl Clone for DimensionsInfo
impl Clone for DimensionsInfo
source§fn clone(&self) -> DimensionsInfo
fn clone(&self) -> DimensionsInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DimensionsInfo
impl Debug for DimensionsInfo
source§impl Default for DimensionsInfo
impl Default for DimensionsInfo
source§impl Message for DimensionsInfo
impl Message for DimensionsInfo
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for DimensionsInfo
impl PartialEq for DimensionsInfo
source§fn eq(&self, other: &DimensionsInfo) -> bool
fn eq(&self, other: &DimensionsInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DimensionsInfo
Auto Trait Implementations§
impl Freeze for DimensionsInfo
impl RefUnwindSafe for DimensionsInfo
impl Send for DimensionsInfo
impl Sync for DimensionsInfo
impl Unpin for DimensionsInfo
impl UnwindSafe for DimensionsInfo
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request