#[non_exhaustive]pub enum LobeOutputFormat {
FreeText,
Structured,
Score,
Boolean,
Custom(String),
}Expand description
What kind of output a lobe produces.
Helps the synthesizer interpret outputs correctly.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
FreeText
Unstructured text (most common).
Structured
JSON-structured output.
Score
Numeric score (0.0 to 1.0).
Boolean
Yes/no decision.
Custom(String)
User-defined format.
Trait Implementations§
Source§impl Clone for LobeOutputFormat
impl Clone for LobeOutputFormat
Source§fn clone(&self) -> LobeOutputFormat
fn clone(&self) -> LobeOutputFormat
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 LobeOutputFormat
impl Debug for LobeOutputFormat
Source§impl<'de> Deserialize<'de> for LobeOutputFormat
impl<'de> Deserialize<'de> for LobeOutputFormat
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 LobeOutputFormat
impl PartialEq for LobeOutputFormat
Source§fn eq(&self, other: &LobeOutputFormat) -> bool
fn eq(&self, other: &LobeOutputFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LobeOutputFormat
impl Serialize for LobeOutputFormat
impl StructuralPartialEq for LobeOutputFormat
Auto Trait Implementations§
impl Freeze for LobeOutputFormat
impl RefUnwindSafe for LobeOutputFormat
impl Send for LobeOutputFormat
impl Sync for LobeOutputFormat
impl Unpin for LobeOutputFormat
impl UnsafeUnpin for LobeOutputFormat
impl UnwindSafe for LobeOutputFormat
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