#[non_exhaustive]pub struct GetMetricDescriptorRequest {
    pub name: String,
}Expand description
The GetMetricDescriptor request.
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.name: StringRequired. The metric descriptor on which to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]An example value of [METRIC_ID] is
"compute.googleapis.com/instance/disk/read_bytes_count".
Implementations§
Trait Implementations§
Source§impl Clone for GetMetricDescriptorRequest
 
impl Clone for GetMetricDescriptorRequest
Source§fn clone(&self) -> GetMetricDescriptorRequest
 
fn clone(&self) -> GetMetricDescriptorRequest
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 GetMetricDescriptorRequest
 
impl Debug for GetMetricDescriptorRequest
Source§impl Default for GetMetricDescriptorRequest
 
impl Default for GetMetricDescriptorRequest
Source§fn default() -> GetMetricDescriptorRequest
 
fn default() -> GetMetricDescriptorRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetMetricDescriptorRequestwhere
    GetMetricDescriptorRequest: Default,
 
impl<'de> Deserialize<'de> for GetMetricDescriptorRequestwhere
    GetMetricDescriptorRequest: Default,
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 Message for GetMetricDescriptorRequest
 
impl Message for GetMetricDescriptorRequest
impl StructuralPartialEq for GetMetricDescriptorRequest
Auto Trait Implementations§
impl Freeze for GetMetricDescriptorRequest
impl RefUnwindSafe for GetMetricDescriptorRequest
impl Send for GetMetricDescriptorRequest
impl Sync for GetMetricDescriptorRequest
impl Unpin for GetMetricDescriptorRequest
impl UnwindSafe for GetMetricDescriptorRequest
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