pub struct SloQuery {
pub id: String,
pub over: String,
pub condition: Condition,
}Expand description
An SLO error-budget query.
Fields§
§id: StringThe SLO identifier.
over: StringThe .over("…") time window argument.
condition: ConditionThe alerting condition.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SloQuery
impl<'de> Deserialize<'de> for SloQuery
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 SloQuery
Auto Trait Implementations§
impl Freeze for SloQuery
impl RefUnwindSafe for SloQuery
impl Send for SloQuery
impl Sync for SloQuery
impl Unpin for SloQuery
impl UnsafeUnpin for SloQuery
impl UnwindSafe for SloQuery
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