pub struct IntentDetectionEvent {
pub session_id: String,
pub prompt: String,
pub workspace: String,
pub language_hint: Option<String>,
}Expand description
Intent detection event payload
Fields§
§session_id: String§prompt: String§workspace: String§language_hint: Option<String>Optional language hint auto-detected from input
Trait Implementations§
Source§impl Clone for IntentDetectionEvent
impl Clone for IntentDetectionEvent
Source§fn clone(&self) -> IntentDetectionEvent
fn clone(&self) -> IntentDetectionEvent
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 IntentDetectionEvent
impl Debug for IntentDetectionEvent
Source§impl<'de> Deserialize<'de> for IntentDetectionEvent
impl<'de> Deserialize<'de> for IntentDetectionEvent
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 IntentDetectionEvent
impl RefUnwindSafe for IntentDetectionEvent
impl Send for IntentDetectionEvent
impl Sync for IntentDetectionEvent
impl Unpin for IntentDetectionEvent
impl UnsafeUnpin for IntentDetectionEvent
impl UnwindSafe for IntentDetectionEvent
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