#[non_exhaustive]pub struct ReasoningPayload {
pub text: String,
}Expand description
Structured reasoning content: the model’s readable thinking text. Recorded as-is by callers; the kernel does not interpret or persist it.
Opaque provider items that must be echoed back on later turns are carried
as context material (such as crate::ContentPart::Sealed parts). This
observation is display-only.
Serializable for logs and tests; the serialized form is not part of the stable set and may change in any release.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.text: StringThe model’s thinking text.
Implementations§
Trait Implementations§
Source§impl Clone for ReasoningPayload
impl Clone for ReasoningPayload
Source§impl Debug for ReasoningPayload
impl Debug for ReasoningPayload
Source§impl Default for ReasoningPayload
impl Default for ReasoningPayload
Source§impl<'de> Deserialize<'de> for ReasoningPayload
impl<'de> Deserialize<'de> for ReasoningPayload
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 Forget for ReasoningPayload
impl Freeze for ReasoningPayload
impl Move for ReasoningPayload
impl RefUnwindSafe for ReasoningPayload
impl Send for ReasoningPayload
impl Sync for ReasoningPayload
impl Unpin for ReasoningPayload
impl UnsafeUnpin for ReasoningPayload
impl UnwindSafe for ReasoningPayload
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