pub struct ReplayResult {
pub trace_id: String,
pub sanitization_match: bool,
pub sanitization_divergences: Vec<usize>,
pub policy_match: bool,
pub policy_divergences: Vec<String>,
pub execution_match: bool,
pub execution_divergences: Vec<usize>,
}Expand description
回放验证结果
Fields§
§trace_id: String对应的 trace ID
sanitization_match: bool脱敏输出是否完全一致
sanitization_divergences: Vec<usize>不一致的 SanitizedEvent 索引
policy_match: bool策略决策是否完全一致
policy_divergences: Vec<String>不一致的策略决策描述
execution_match: bool执行结果是否完全一致
execution_divergences: Vec<usize>不一致的 ExecutedAction 索引
Implementations§
Trait Implementations§
Source§impl Clone for ReplayResult
impl Clone for ReplayResult
Source§fn clone(&self) -> ReplayResult
fn clone(&self) -> ReplayResult
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 ReplayResult
impl Debug for ReplayResult
Source§impl<'de> Deserialize<'de> for ReplayResult
impl<'de> Deserialize<'de> for ReplayResult
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 ReplayResult
impl RefUnwindSafe for ReplayResult
impl Send for ReplayResult
impl Sync for ReplayResult
impl Unpin for ReplayResult
impl UnsafeUnpin for ReplayResult
impl UnwindSafe for ReplayResult
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