Struct google_cloudkms1_beta1::api::CounterOptions
source · pub struct CounterOptions {
pub metric: Option<String>,
pub field: Option<String>,
}
Expand description
Options for counters
This type is not used in any activity, and only used as part of another schema.
Fields§
§metric: Option<String>
The metric to update.
field: Option<String>
The field value to attribute.
Trait Implementations§
source§impl Clone for CounterOptions
impl Clone for CounterOptions
source§fn clone(&self) -> CounterOptions
fn clone(&self) -> CounterOptions
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 CounterOptions
impl Debug for CounterOptions
source§impl Default for CounterOptions
impl Default for CounterOptions
source§fn default() -> CounterOptions
fn default() -> CounterOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CounterOptions
impl<'de> Deserialize<'de> for CounterOptions
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 CounterOptions
impl Serialize for CounterOptions
impl Part for CounterOptions
Auto Trait Implementations§
impl RefUnwindSafe for CounterOptions
impl Send for CounterOptions
impl Sync for CounterOptions
impl Unpin for CounterOptions
impl UnwindSafe for CounterOptions
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