Struct Event
pub struct Event {
pub id: String,
pub rule: Rule,
pub input: Value,
}Expand description
One event: the update a coordinator takes.
Fields§
§id: StringThe caller’s event ID (“” for none): a retry with the same ID joins once and gets the same receipt.
rule: Rule§input: ValueThe run’s input (debounce) or one element of it (batch).
Trait Implementations§
§impl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
§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 StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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