pub struct ResponseResourceMetricKey {
pub dimensions: Option<HashMap<String, String>>,
pub metric: String,
}
Expand description
An object describing a Performance Insights metric and one or more dimensions for that metric.
Fields§
§dimensions: Option<HashMap<String, String>>
The valid dimensions for the metric.
metric: String
The name of a Performance Insights metric to be measured.
Valid values for Metric
are:
-
db.load.avg
- a scaled representation of the number of active sessions for the database engine. -
db.sampledload.avg
- the raw number of active sessions for the database engine.
Trait Implementations§
Source§impl Clone for ResponseResourceMetricKey
impl Clone for ResponseResourceMetricKey
Source§fn clone(&self) -> ResponseResourceMetricKey
fn clone(&self) -> ResponseResourceMetricKey
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 ResponseResourceMetricKey
impl Debug for ResponseResourceMetricKey
Source§impl Default for ResponseResourceMetricKey
impl Default for ResponseResourceMetricKey
Source§fn default() -> ResponseResourceMetricKey
fn default() -> ResponseResourceMetricKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResponseResourceMetricKey
impl<'de> Deserialize<'de> for ResponseResourceMetricKey
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
impl StructuralPartialEq for ResponseResourceMetricKey
Auto Trait Implementations§
impl Freeze for ResponseResourceMetricKey
impl RefUnwindSafe for ResponseResourceMetricKey
impl Send for ResponseResourceMetricKey
impl Sync for ResponseResourceMetricKey
impl Unpin for ResponseResourceMetricKey
impl UnwindSafe for ResponseResourceMetricKey
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