pub struct ClassificationResponse {
pub prediction: IntentPrediction,
pub processing_time_ms: f64,
pub request_id: Uuid,
}
Expand description
Intent classification response
Fields§
§prediction: IntentPrediction
The classification result
processing_time_ms: f64
Processing time in milliseconds
request_id: Uuid
Request ID for tracking
Trait Implementations§
Source§impl Clone for ClassificationResponse
impl Clone for ClassificationResponse
Source§fn clone(&self) -> ClassificationResponse
fn clone(&self) -> ClassificationResponse
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 ClassificationResponse
impl Debug for ClassificationResponse
Source§impl<'de> Deserialize<'de> for ClassificationResponse
impl<'de> Deserialize<'de> for ClassificationResponse
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 ClassificationResponse
impl RefUnwindSafe for ClassificationResponse
impl Send for ClassificationResponse
impl Sync for ClassificationResponse
impl Unpin for ClassificationResponse
impl UnwindSafe for ClassificationResponse
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