#[non_exhaustive]pub struct DeleteLogMetricRequest {
pub metric_name: String,
/* private fields */
}Expand description
The parameters to DeleteLogMetric.
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.metric_name: StringRequired. The resource name of the metric to delete:
"projects/[PROJECT_ID]/metrics/[METRIC_ID]"Implementations§
Source§impl DeleteLogMetricRequest
impl DeleteLogMetricRequest
pub fn new() -> Self
Sourcepub fn set_metric_name<T: Into<String>>(self, v: T) -> Self
pub fn set_metric_name<T: Into<String>>(self, v: T) -> Self
Sets the value of metric_name.
Trait Implementations§
Source§impl Clone for DeleteLogMetricRequest
impl Clone for DeleteLogMetricRequest
Source§fn clone(&self) -> DeleteLogMetricRequest
fn clone(&self) -> DeleteLogMetricRequest
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 DeleteLogMetricRequest
impl Debug for DeleteLogMetricRequest
Source§impl Default for DeleteLogMetricRequest
impl Default for DeleteLogMetricRequest
Source§fn default() -> DeleteLogMetricRequest
fn default() -> DeleteLogMetricRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteLogMetricRequest
impl Message for DeleteLogMetricRequest
Source§impl PartialEq for DeleteLogMetricRequest
impl PartialEq for DeleteLogMetricRequest
impl StructuralPartialEq for DeleteLogMetricRequest
Auto Trait Implementations§
impl Freeze for DeleteLogMetricRequest
impl RefUnwindSafe for DeleteLogMetricRequest
impl Send for DeleteLogMetricRequest
impl Sync for DeleteLogMetricRequest
impl Unpin for DeleteLogMetricRequest
impl UnwindSafe for DeleteLogMetricRequest
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