pub struct ObservabilityThreshold { /* private fields */ }Expand description
Budget threshold definition attached to an ObservabilityMetric.
Implementations§
Source§impl ObservabilityThreshold
impl ObservabilityThreshold
pub fn get_rule(&self) -> ObservabilityThresholdRule
pub fn get_unit(&self) -> &String
pub fn get_budget_version(&self) -> &String
Trait Implementations§
Source§impl Clone for ObservabilityThreshold
impl Clone for ObservabilityThreshold
Source§impl Debug for ObservabilityThreshold
impl Debug for ObservabilityThreshold
Source§impl<'de> Deserialize<'de> for ObservabilityThreshold
impl<'de> Deserialize<'de> for ObservabilityThreshold
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 PartialEq for ObservabilityThreshold
impl PartialEq for ObservabilityThreshold
Source§impl Serialize for ObservabilityThreshold
impl Serialize for ObservabilityThreshold
impl StructuralPartialEq for ObservabilityThreshold
Auto Trait Implementations§
impl Forget for ObservabilityThreshold
impl Freeze for ObservabilityThreshold
impl Move for ObservabilityThreshold
impl RefUnwindSafe for ObservabilityThreshold
impl Send for ObservabilityThresholdwhere
RawVecInner: Send,
impl Sync for ObservabilityThresholdwhere
RawVecInner: Sync,
impl Unpin for ObservabilityThreshold
impl UnsafeUnpin for ObservabilityThreshold
impl UnwindSafe for ObservabilityThresholdwhere
RawVecInner: UnwindSafe,
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