pub struct IntentBatch {
pub window_id: String,
pub intents: Vec<Intent>,
pub generated_at_ms: i64,
pub model: String,
}Expand description
云端 LLM 返回的结构化决策
Fields§
§window_id: String请求对应的窗口 ID
intents: Vec<Intent>候选意图列表 (按置信度降序)
generated_at_ms: i64生成时间 (epoch ms)
model: String模型标识
Trait Implementations§
Source§impl Clone for IntentBatch
impl Clone for IntentBatch
Source§fn clone(&self) -> IntentBatch
fn clone(&self) -> IntentBatch
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 IntentBatch
impl Debug for IntentBatch
Source§impl<'de> Deserialize<'de> for IntentBatch
impl<'de> Deserialize<'de> for IntentBatch
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 IntentBatch
impl RefUnwindSafe for IntentBatch
impl Send for IntentBatch
impl Sync for IntentBatch
impl Unpin for IntentBatch
impl UnsafeUnpin for IntentBatch
impl UnwindSafe for IntentBatch
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