pub struct BaseEvent {
pub timestamp: Option<f64>,
pub raw_event: Option<JsonValue>,
}Expand description
Base event for all events in the Agent User Interaction Protocol. Contains common fields that are present in all event types.
Fields§
§timestamp: Option<f64>§raw_event: Option<JsonValue>Trait Implementations§
Source§impl<'de> Deserialize<'de> for BaseEvent
impl<'de> Deserialize<'de> for BaseEvent
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 BaseEvent
Auto Trait Implementations§
impl Freeze for BaseEvent
impl RefUnwindSafe for BaseEvent
impl Send for BaseEvent
impl Sync for BaseEvent
impl Unpin for BaseEvent
impl UnwindSafe for BaseEvent
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