pub struct OpaqueReasoningState {
pub provider: String,
pub api: String,
pub model: String,
pub id: Option<String>,
pub encrypted_content: String,
}Expand description
Provider-owned reasoning continuity that is safe to replay only on the
exact originating API and model. The encrypted payload is deliberately
separate from readable ContentBlock::Thinking text.
Fields§
§provider: String§api: String§model: String§id: Option<String>§encrypted_content: StringTrait Implementations§
Source§impl Clone for OpaqueReasoningState
impl Clone for OpaqueReasoningState
Source§fn clone(&self) -> OpaqueReasoningState
fn clone(&self) -> OpaqueReasoningState
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 OpaqueReasoningState
impl Debug for OpaqueReasoningState
Source§impl<'de> Deserialize<'de> for OpaqueReasoningState
impl<'de> Deserialize<'de> for OpaqueReasoningState
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OpaqueReasoningState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OpaqueReasoningState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OpaqueReasoningState
impl PartialEq for OpaqueReasoningState
Source§impl Serialize for OpaqueReasoningState
impl Serialize for OpaqueReasoningState
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for OpaqueReasoningState
Auto Trait Implementations§
impl Forget for OpaqueReasoningState
impl Freeze for OpaqueReasoningState
impl Move for OpaqueReasoningState
impl RefUnwindSafe for OpaqueReasoningState
impl Send for OpaqueReasoningState
impl Sync for OpaqueReasoningState
impl Unpin for OpaqueReasoningState
impl UnsafeUnpin for OpaqueReasoningState
impl UnwindSafe for OpaqueReasoningState
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