Struct VelocityGateEvent
pub struct VelocityGateEvent {
pub level: VelocityGateLevel,
pub prev_level: VelocityGateLevel,
pub trigger: String,
pub metrics: Option<Value>,
}Expand description
§8.16 — Velocity gate transition.
Fields§
§level: VelocityGateLevel§prev_level: VelocityGateLevel§trigger: String§metrics: Option<Value>Trait Implementations§
§impl Clone for VelocityGateEvent
impl Clone for VelocityGateEvent
§fn clone(&self) -> VelocityGateEvent
fn clone(&self) -> VelocityGateEvent
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 VelocityGateEvent
impl Debug for VelocityGateEvent
§impl<'de> Deserialize<'de> for VelocityGateEvent
impl<'de> Deserialize<'de> for VelocityGateEvent
§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 VelocityGateEvent
impl Serialize for VelocityGateEvent
Auto Trait Implementations§
impl Freeze for VelocityGateEvent
impl RefUnwindSafe for VelocityGateEvent
impl Send for VelocityGateEvent
impl Sync for VelocityGateEvent
impl Unpin for VelocityGateEvent
impl UnsafeUnpin for VelocityGateEvent
impl UnwindSafe for VelocityGateEvent
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)