pub struct DiscreteTrigger {
pub dwell_time: Option<String>,
pub name: Option<String>,
pub severity: Option<Health>,
pub value: Option<String>,
}
Expand description
The characteristics of the discrete trigger.
Fields§
§dwell_time: Option<String>
The amount of time that a trigger event persists before the metric action is performed.
name: Option<String>
The name of trigger.
severity: Option<Health>
§value: Option<String>
The discrete metric value that constitutes a trigger event.
Trait Implementations§
Source§impl Clone for DiscreteTrigger
impl Clone for DiscreteTrigger
Source§fn clone(&self) -> DiscreteTrigger
fn clone(&self) -> DiscreteTrigger
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DiscreteTrigger
impl Debug for DiscreteTrigger
Source§impl Default for DiscreteTrigger
impl Default for DiscreteTrigger
Source§impl<'de> Deserialize<'de> for DiscreteTrigger
impl<'de> Deserialize<'de> for DiscreteTrigger
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 Metadata<'static> for DiscreteTrigger
impl Metadata<'static> for DiscreteTrigger
Source§const JSON_SCHEMA: &'static str = "Triggers.v1_3_1.json"
const JSON_SCHEMA: &'static str = "Triggers.v1_3_1.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for DiscreteTrigger
impl RefUnwindSafe for DiscreteTrigger
impl Send for DiscreteTrigger
impl Sync for DiscreteTrigger
impl Unpin for DiscreteTrigger
impl UnwindSafe for DiscreteTrigger
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