pub struct ReasoningMeta {
pub present: bool,
pub summary_present: bool,
pub tokens: Option<u32>,
}Expand description
Reasoning summary metadata reported by Rainy in envelope mode.
Fields§
§present: boolWhether reasoning was present in the response.
summary_present: boolWhether a reasoning summary was provided.
tokens: Option<u32>Number of tokens used for reasoning.
Trait Implementations§
Source§impl Clone for ReasoningMeta
impl Clone for ReasoningMeta
Source§fn clone(&self) -> ReasoningMeta
fn clone(&self) -> ReasoningMeta
Returns a duplicate of the value. Read more
1.0.0 · 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 ReasoningMeta
impl Debug for ReasoningMeta
Source§impl<'de> Deserialize<'de> for ReasoningMeta
impl<'de> Deserialize<'de> for ReasoningMeta
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 ReasoningMeta
impl RefUnwindSafe for ReasoningMeta
impl Send for ReasoningMeta
impl Sync for ReasoningMeta
impl Unpin for ReasoningMeta
impl UnsafeUnpin for ReasoningMeta
impl UnwindSafe for ReasoningMeta
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