pub enum FinalAnswerFormat {
LineNumberedMatches {
matches: Vec<(usize, String)>,
},
CountResult {
count: usize,
},
StructuredData {
data: Value,
},
FreeFormText {
text: String,
},
}Expand description
Classification of an RLM FINAL() answer format.
Variants§
LineNumberedMatches
Line-numbered matches (e.g., “42:async fn foo()”, “100:pub struct Bar”)
CountResult
Count result (e.g., “Found 15 occurrences”)
StructuredData
Structured data (e.g., function signature JSON)
FreeFormText
Free-form text (semantic - no deterministic verification)
Implementations§
Trait Implementations§
Source§impl Clone for FinalAnswerFormat
impl Clone for FinalAnswerFormat
Source§fn clone(&self) -> FinalAnswerFormat
fn clone(&self) -> FinalAnswerFormat
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 FinalAnswerFormat
impl Debug for FinalAnswerFormat
Source§impl PartialEq for FinalAnswerFormat
impl PartialEq for FinalAnswerFormat
Source§fn eq(&self, other: &FinalAnswerFormat) -> bool
fn eq(&self, other: &FinalAnswerFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FinalAnswerFormat
Auto Trait Implementations§
impl Freeze for FinalAnswerFormat
impl RefUnwindSafe for FinalAnswerFormat
impl Send for FinalAnswerFormat
impl Sync for FinalAnswerFormat
impl Unpin for FinalAnswerFormat
impl UnsafeUnpin for FinalAnswerFormat
impl UnwindSafe for FinalAnswerFormat
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