pub struct AssetAnalysis {
pub summary: String,
pub content_kind: ContentKind,
pub extractable_text: Option<String>,
pub key_findings: Vec<String>,
pub metadata: HashMap<String, Value>,
pub semantic: Option<SemanticAnalysis>,
}Expand description
Result of analyzing an asset through the processor pipeline.
Produced by Levels 1-2 (built-in processors, no LLM) and optionally enriched by Level 3 (semantic LLM analysis).
Fields§
§summary: StringShort human-readable summary for the agent (1-3 sentences).
content_kind: ContentKind§extractable_text: Option<String>Text extracted from the file if applicable (logs, configs).
key_findings: Vec<String>Key findings produced by built-in heuristics.
metadata: HashMap<String, Value>Additional metadata (dimensions, duration, line counts, …).
semantic: Option<SemanticAnalysis>Level 3 semantic analysis result, if available.
Trait Implementations§
Source§impl Clone for AssetAnalysis
impl Clone for AssetAnalysis
Source§fn clone(&self) -> AssetAnalysis
fn clone(&self) -> AssetAnalysis
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 AssetAnalysis
impl Debug for AssetAnalysis
Source§impl Default for AssetAnalysis
impl Default for AssetAnalysis
Source§fn default() -> AssetAnalysis
fn default() -> AssetAnalysis
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssetAnalysis
impl<'de> Deserialize<'de> for AssetAnalysis
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 AssetAnalysis
impl PartialEq for AssetAnalysis
Source§fn eq(&self, other: &AssetAnalysis) -> bool
fn eq(&self, other: &AssetAnalysis) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AssetAnalysis
impl Serialize for AssetAnalysis
impl StructuralPartialEq for AssetAnalysis
Auto Trait Implementations§
impl Freeze for AssetAnalysis
impl RefUnwindSafe for AssetAnalysis
impl Send for AssetAnalysis
impl Sync for AssetAnalysis
impl Unpin for AssetAnalysis
impl UnsafeUnpin for AssetAnalysis
impl UnwindSafe for AssetAnalysis
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