#[non_exhaustive]pub enum AlertRhsType {
Constant,
Instrument,
}Expand description
Right-hand side type sent to /alerts.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Constant
Compare against a constant (constant).
Instrument
Compare against another instrument (instrument).
Trait Implementations§
Source§impl Clone for AlertRhsType
impl Clone for AlertRhsType
impl Copy for AlertRhsType
Source§impl Debug for AlertRhsType
impl Debug for AlertRhsType
Source§impl<'de> Deserialize<'de> for AlertRhsType
impl<'de> Deserialize<'de> for AlertRhsType
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 Display for AlertRhsType
impl Display for AlertRhsType
impl Eq for AlertRhsType
Source§impl PartialEq for AlertRhsType
impl PartialEq for AlertRhsType
Source§impl Serialize for AlertRhsType
impl Serialize for AlertRhsType
impl StructuralPartialEq for AlertRhsType
Auto Trait Implementations§
impl Freeze for AlertRhsType
impl RefUnwindSafe for AlertRhsType
impl Send for AlertRhsType
impl Sync for AlertRhsType
impl Unpin for AlertRhsType
impl UnsafeUnpin for AlertRhsType
impl UnwindSafe for AlertRhsType
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