pub struct SemanticAnalysis {
pub summary: String,
pub findings: Vec<String>,
pub prompt_used: String,
pub model: String,
pub cached: bool,
}Expand description
Result of a Level 3 semantic (LLM-based) analysis.
Fields§
§summary: StringSummary produced by the LLM.
findings: Vec<String>Key findings identified by the LLM.
prompt_used: StringPrompt used for the analysis (for caching and debugging).
model: StringModel identifier used (e.g. “claude-sonnet-4”).
cached: boolWhether this result was served from cache.
Trait Implementations§
Source§impl Clone for SemanticAnalysis
impl Clone for SemanticAnalysis
Source§fn clone(&self) -> SemanticAnalysis
fn clone(&self) -> SemanticAnalysis
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 SemanticAnalysis
impl Debug for SemanticAnalysis
Source§impl Default for SemanticAnalysis
impl Default for SemanticAnalysis
Source§fn default() -> SemanticAnalysis
fn default() -> SemanticAnalysis
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SemanticAnalysis
impl<'de> Deserialize<'de> for SemanticAnalysis
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
Source§impl PartialEq for SemanticAnalysis
impl PartialEq for SemanticAnalysis
Source§fn eq(&self, other: &SemanticAnalysis) -> bool
fn eq(&self, other: &SemanticAnalysis) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SemanticAnalysis
impl Serialize for SemanticAnalysis
impl StructuralPartialEq for SemanticAnalysis
Auto Trait Implementations§
impl Freeze for SemanticAnalysis
impl RefUnwindSafe for SemanticAnalysis
impl Send for SemanticAnalysis
impl Sync for SemanticAnalysis
impl Unpin for SemanticAnalysis
impl UnsafeUnpin for SemanticAnalysis
impl UnwindSafe for SemanticAnalysis
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