pub struct IntentDecision {
pub intent: String,
pub confidence_milli: u16,
pub rationale_ref: Option<String>,
}Fields§
§intent: String[INTERNAL] Selected request intent.
confidence_milli: u16[INTERNAL] Decision confidence metric.
rationale_ref: Option<String>[INTERNAL] Internal rationale reference.
Trait Implementations§
Source§impl Clone for IntentDecision
impl Clone for IntentDecision
Source§fn clone(&self) -> IntentDecision
fn clone(&self) -> IntentDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IntentDecision
impl Debug for IntentDecision
Source§impl<'de> Deserialize<'de> for IntentDecision
impl<'de> Deserialize<'de> for IntentDecision
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 Eq for IntentDecision
Source§impl PartialEq for IntentDecision
impl PartialEq for IntentDecision
Source§impl Serialize for IntentDecision
impl Serialize for IntentDecision
impl StructuralPartialEq for IntentDecision
Auto Trait Implementations§
impl Freeze for IntentDecision
impl RefUnwindSafe for IntentDecision
impl Send for IntentDecision
impl Sync for IntentDecision
impl Unpin for IntentDecision
impl UnsafeUnpin for IntentDecision
impl UnwindSafe for IntentDecision
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