Struct RiskStateEvent
pub struct RiskStateEvent {
pub state: RiskStopState,
pub prev_state: RiskStopState,
pub trigger: String,
pub metrics: Option<Value>,
}Expand description
§8.13 — Risk stop-state transition.
Fields§
§state: RiskStopState§prev_state: RiskStopState§trigger: String§metrics: Option<Value>Trait Implementations§
§impl Clone for RiskStateEvent
impl Clone for RiskStateEvent
§fn clone(&self) -> RiskStateEvent
fn clone(&self) -> RiskStateEvent
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for RiskStateEvent
impl Debug for RiskStateEvent
§impl<'de> Deserialize<'de> for RiskStateEvent
impl<'de> Deserialize<'de> for RiskStateEvent
§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 Serialize for RiskStateEvent
impl Serialize for RiskStateEvent
Auto Trait Implementations§
impl Freeze for RiskStateEvent
impl RefUnwindSafe for RiskStateEvent
impl Send for RiskStateEvent
impl Sync for RiskStateEvent
impl Unpin for RiskStateEvent
impl UnsafeUnpin for RiskStateEvent
impl UnwindSafe for RiskStateEvent
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)