Struct VelocityGateEvent
pub struct VelocityGateEvent {
pub level: VelocityGateLevel,
pub prev_level: VelocityGateLevel,
pub trigger: String,
pub metrics: Option<Value>,
}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
1.0.0 (const: )§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
§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>,
§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> 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)