#[non_exhaustive]pub struct DeleteMetricDescriptorRequest {
pub name: String,
}Expand description
The DeleteMetricDescriptor 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 of [METRIC_ID] is:
"custom.googleapis.com/my_test_metric".
Implementations§
Trait Implementations§
Source§impl Clone for DeleteMetricDescriptorRequest
impl Clone for DeleteMetricDescriptorRequest
Source§fn clone(&self) -> DeleteMetricDescriptorRequest
fn clone(&self) -> DeleteMetricDescriptorRequest
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 Default for DeleteMetricDescriptorRequest
impl Default for DeleteMetricDescriptorRequest
Source§fn default() -> DeleteMetricDescriptorRequest
fn default() -> DeleteMetricDescriptorRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeleteMetricDescriptorRequestwhere
DeleteMetricDescriptorRequest: Default,
impl<'de> Deserialize<'de> for DeleteMetricDescriptorRequestwhere
DeleteMetricDescriptorRequest: 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 PartialEq for DeleteMetricDescriptorRequest
impl PartialEq for DeleteMetricDescriptorRequest
Source§fn eq(&self, other: &DeleteMetricDescriptorRequest) -> bool
fn eq(&self, other: &DeleteMetricDescriptorRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteMetricDescriptorRequest
Auto Trait Implementations§
impl Freeze for DeleteMetricDescriptorRequest
impl RefUnwindSafe for DeleteMetricDescriptorRequest
impl Send for DeleteMetricDescriptorRequest
impl Sync for DeleteMetricDescriptorRequest
impl Unpin for DeleteMetricDescriptorRequest
impl UnwindSafe for DeleteMetricDescriptorRequest
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