pub struct EventIn {
pub event_type: Option<String>,
pub payload: String,
}
Fields§
§event_type: Option<String>
The event type’s name
payload: String
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EventIn
impl<'de> Deserialize<'de> for EventIn
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
impl StructuralPartialEq for EventIn
Auto Trait Implementations§
impl Freeze for EventIn
impl RefUnwindSafe for EventIn
impl Send for EventIn
impl Sync for EventIn
impl Unpin for EventIn
impl UnwindSafe for EventIn
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