pub struct PostContextPerceptionEvent {
pub session_id: String,
pub intent: String,
pub target_type: String,
pub success: bool,
pub facts_retrieved: usize,
pub files_retrieved: usize,
pub error: Option<String>,
}Expand description
Post-context-perception event payload
Fields§
§session_id: String§intent: String§target_type: String§success: bool§facts_retrieved: usize§files_retrieved: usize§error: Option<String>Trait Implementations§
Source§impl Clone for PostContextPerceptionEvent
impl Clone for PostContextPerceptionEvent
Source§fn clone(&self) -> PostContextPerceptionEvent
fn clone(&self) -> PostContextPerceptionEvent
Returns a duplicate 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 PostContextPerceptionEvent
impl Debug for PostContextPerceptionEvent
Source§impl<'de> Deserialize<'de> for PostContextPerceptionEvent
impl<'de> Deserialize<'de> for PostContextPerceptionEvent
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
Auto Trait Implementations§
impl Freeze for PostContextPerceptionEvent
impl RefUnwindSafe for PostContextPerceptionEvent
impl Send for PostContextPerceptionEvent
impl Sync for PostContextPerceptionEvent
impl Unpin for PostContextPerceptionEvent
impl UnsafeUnpin for PostContextPerceptionEvent
impl UnwindSafe for PostContextPerceptionEvent
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