pub struct SystemEntry {Show 22 fields
pub envelope: Envelope,
pub subtype: SystemSubtype,
pub content: Option<String>,
pub level: Option<String>,
pub is_meta: Option<bool>,
pub cause: Option<Value>,
pub error: Option<Value>,
pub retry_in_ms: Option<f64>,
pub retry_attempt: Option<u32>,
pub max_retries: Option<u32>,
pub hook_count: Option<u32>,
pub hook_infos: Option<Vec<HookInfo>>,
pub hook_errors: Option<Vec<Value>>,
pub prevented_continuation: Option<bool>,
pub stop_reason: Option<String>,
pub has_output: Option<bool>,
pub tool_use_id: Option<String>,
pub duration_ms: Option<f64>,
pub message_count: Option<u32>,
pub url: Option<String>,
pub upgrade_nudge: Option<String>,
pub compact_metadata: Option<CompactMetadata>,
}Fields§
§envelope: Envelope§subtype: SystemSubtype§content: Option<String>Human-readable message text (most subtypes).
level: Option<String>Severity level: “info” | “warning” | “error” | “suggestion”.
is_meta: Option<bool>True when the entry should be hidden from the main conversation view.
cause: Option<Value>§error: Option<Value>§retry_in_ms: Option<f64>§retry_attempt: Option<u32>§max_retries: Option<u32>§hook_count: Option<u32>§hook_infos: Option<Vec<HookInfo>>§hook_errors: Option<Vec<Value>>§prevented_continuation: Option<bool>§stop_reason: Option<String>§has_output: Option<bool>§tool_use_id: Option<String>§duration_ms: Option<f64>§message_count: Option<u32>§url: Option<String>§upgrade_nudge: Option<String>§compact_metadata: Option<CompactMetadata>Trait Implementations§
Source§impl Clone for SystemEntry
impl Clone for SystemEntry
Source§fn clone(&self) -> SystemEntry
fn clone(&self) -> SystemEntry
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 SystemEntry
impl Debug for SystemEntry
Source§impl<'de> Deserialize<'de> for SystemEntry
impl<'de> Deserialize<'de> for SystemEntry
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 SystemEntry
impl RefUnwindSafe for SystemEntry
impl Send for SystemEntry
impl Sync for SystemEntry
impl Unpin for SystemEntry
impl UnsafeUnpin for SystemEntry
impl UnwindSafe for SystemEntry
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