Struct querent_synapse::callbacks::types::event::EventState    
source · pub struct EventState {
    pub event_type: EventType,
    pub timestamp: f64,
    pub payload: String,
    pub file: String,
    pub doc_source: String,
    pub image_id: Option<String>,
}Fields§
§event_type: EventType§timestamp: f64§payload: String§file: String§doc_source: String§image_id: Option<String>Trait Implementations§
source§impl Clone for EventState
 
impl Clone for EventState
source§fn clone(&self) -> EventState
 
fn clone(&self) -> EventState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for EventState
 
impl Debug for EventState
source§impl<'a> FromPyObject<'a> for EventState
 
impl<'a> FromPyObject<'a> for EventState
source§impl PartialEq for EventState
 
impl PartialEq for EventState
source§fn eq(&self, other: &EventState) -> bool
 
fn eq(&self, other: &EventState) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for EventState
 
impl Serialize for EventState
impl StructuralPartialEq for EventState
Auto Trait Implementations§
impl Freeze for EventState
impl RefUnwindSafe for EventState
impl Send for EventState
impl Sync for EventState
impl Unpin for EventState
impl UnwindSafe for EventState
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