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