pub struct ResumeActionPayload {
pub outcome: ResumeOutcome,
pub source: String,
pub entry_count: usize,
pub projected_message_count: usize,
pub compact_boundary_count: usize,
pub sidechain_entry_count: usize,
pub warning_kind: Option<String>,
pub latency_ms: u64,
}Expand description
Resume / replay 结果。Payload 只记录结构化类别和计数,不包含 transcript 内容。
Fields§
§outcome: ResumeOutcome§source: String§entry_count: usize§projected_message_count: usize§compact_boundary_count: usize§sidechain_entry_count: usize§warning_kind: Option<String>§latency_ms: u64Trait Implementations§
Source§impl Clone for ResumeActionPayload
impl Clone for ResumeActionPayload
Source§fn clone(&self) -> ResumeActionPayload
fn clone(&self) -> ResumeActionPayload
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 ResumeActionPayload
impl Debug for ResumeActionPayload
Source§impl JsonSchema for ResumeActionPayload
impl JsonSchema for ResumeActionPayload
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Serialize for ResumeActionPayload
impl Serialize for ResumeActionPayload
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
Auto Trait Implementations§
impl Forget for ResumeActionPayload
impl Freeze for ResumeActionPayload
impl Move for ResumeActionPayload
impl RefUnwindSafe for ResumeActionPayload
impl Send for ResumeActionPayloadwhere
RawVecInner: Send,
impl Sync for ResumeActionPayloadwhere
RawVecInner: Sync,
impl Unpin for ResumeActionPayload
impl UnsafeUnpin for ResumeActionPayload
impl UnwindSafe for ResumeActionPayloadwhere
RawVecInner: UnwindSafe,
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