pub struct LedgerExtractionCandidate {
pub title: String,
pub kind: String,
pub due_at: Option<String>,
pub starts_at: Option<String>,
pub excerpt: Option<String>,
pub session_id: Option<String>,
pub confidence: Option<String>,
}Expand description
A ledger record candidate (commitment/deadline/appointment the USER stated) proposed by the same extraction pass that produces durable memory candidates — no extra LLM call. Every field is defaulted so a partially malformed item degrades instead of failing the envelope parse.
Fields§
§title: String§kind: String§due_at: Option<String>§starts_at: Option<String>§excerpt: Option<String>§session_id: Option<String>§confidence: Option<String>Trait Implementations§
Source§impl Clone for LedgerExtractionCandidate
impl Clone for LedgerExtractionCandidate
Source§fn clone(&self) -> LedgerExtractionCandidate
fn clone(&self) -> LedgerExtractionCandidate
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 LedgerExtractionCandidate
impl Debug for LedgerExtractionCandidate
Source§impl Default for LedgerExtractionCandidate
impl Default for LedgerExtractionCandidate
Source§fn default() -> LedgerExtractionCandidate
fn default() -> LedgerExtractionCandidate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LedgerExtractionCandidate
impl<'de> Deserialize<'de> for LedgerExtractionCandidate
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 LedgerExtractionCandidate
impl RefUnwindSafe for LedgerExtractionCandidate
impl Send for LedgerExtractionCandidate
impl Sync for LedgerExtractionCandidate
impl Unpin for LedgerExtractionCandidate
impl UnsafeUnpin for LedgerExtractionCandidate
impl UnwindSafe for LedgerExtractionCandidate
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