pub struct ProviderReplay {
pub protocol: String,
pub provider: Option<String>,
pub model: Option<String>,
pub native_blocks: Option<Vec<Value>>,
pub reasoning_content: Option<String>,
pub reasoning_details: Option<Value>,
pub native_message: Option<Value>,
pub tool_calls: Option<Vec<Value>>,
}Expand description
Provider-native replay payload persisted in llm_completed for wake/preload recovery.
The core is provider-neutral but the envelope is strict: protocol identity is mandatory and removed schema/version fields are rejected before replay can be consumed.
Fields§
§protocol: String§provider: Option<String>§model: Option<String>§native_blocks: Option<Vec<Value>>§reasoning_content: Option<String>§reasoning_details: Option<Value>§native_message: Option<Value>§tool_calls: Option<Vec<Value>>Trait Implementations§
Source§impl Clone for ProviderReplay
impl Clone for ProviderReplay
Source§fn clone(&self) -> ProviderReplay
fn clone(&self) -> ProviderReplay
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 ProviderReplay
impl Debug for ProviderReplay
Source§impl<'de> Deserialize<'de> for ProviderReplay
impl<'de> Deserialize<'de> for ProviderReplay
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 ProviderReplay
impl PartialEq for ProviderReplay
Source§impl Serialize for ProviderReplay
impl Serialize for ProviderReplay
impl StructuralPartialEq for ProviderReplay
Auto Trait Implementations§
impl Freeze for ProviderReplay
impl RefUnwindSafe for ProviderReplay
impl Send for ProviderReplay
impl Sync for ProviderReplay
impl Unpin for ProviderReplay
impl UnsafeUnpin for ProviderReplay
impl UnwindSafe for ProviderReplay
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