pub struct Summary {
pub id: String,
pub capsule_id: String,
pub content: String,
pub confidence: f64,
pub created_at: i64,
pub evidence_refs: Vec<String>,
}Expand description
Domain types re-exported from kindling_types so the daemon client is a
self-contained SDK: depend on kindling-client alone and reach every type
the API sends or returns as kindling_client::<Type>. kindling-types
stays an internal transitive dependency you never have to name.
High-level description of a capsule’s content (typically LLM-generated).
Mirrors Summary in packages/kindling-core/src/types/summary.ts.
Fields§
§id: String§capsule_id: String§content: String§confidence: f64Quality/confidence score in [0.0, 1.0].
created_at: i64§evidence_refs: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Summary
impl<'de> Deserialize<'de> for Summary
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Summary, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Summary, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Summary
impl Serialize for Summary
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Summary
Auto Trait Implementations§
impl Freeze for Summary
impl RefUnwindSafe for Summary
impl Send for Summary
impl Sync for Summary
impl Unpin for Summary
impl UnsafeUnpin for Summary
impl UnwindSafe for Summary
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