pub struct AlertRuleGroupBy {
pub key: String,
pub data_type: Option<String>,
pub key_type: Option<String>,
}Expand description
Groups a metric query by an attribute key.
Fields§
§key: StringThe attribute key.
data_type: Option<String>The attribute type: string, int64, float64, or bool.
key_type: Option<String>The attribute source: tag, resource, or scope.
Trait Implementations§
Source§impl Clone for AlertRuleGroupBy
impl Clone for AlertRuleGroupBy
Source§fn clone(&self) -> AlertRuleGroupBy
fn clone(&self) -> AlertRuleGroupBy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AlertRuleGroupBy
impl Debug for AlertRuleGroupBy
Source§impl<'de> Deserialize<'de> for AlertRuleGroupBy
impl<'de> Deserialize<'de> for AlertRuleGroupBy
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
Auto Trait Implementations§
impl Freeze for AlertRuleGroupBy
impl RefUnwindSafe for AlertRuleGroupBy
impl Send for AlertRuleGroupBy
impl Sync for AlertRuleGroupBy
impl Unpin for AlertRuleGroupBy
impl UnsafeUnpin for AlertRuleGroupBy
impl UnwindSafe for AlertRuleGroupBy
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