pub struct ActionOutcomeSummary {
pub action_type: String,
pub target: Option<String>,
pub summary: String,
}Expand description
确定性 outcome 摘要,不含 wall-clock / 随机,纳入 audit_hash。
Fields§
§action_type: String§target: Option<String>§summary: StringImplementations§
Source§impl ActionOutcomeSummary
impl ActionOutcomeSummary
Sourcepub fn from_outcome(outcome: &ActionOutcome) -> Self
pub fn from_outcome(outcome: &ActionOutcome) -> Self
从 ActionOutcome 投影为确定性摘要。
Trait Implementations§
Source§impl Clone for ActionOutcomeSummary
impl Clone for ActionOutcomeSummary
Source§fn clone(&self) -> ActionOutcomeSummary
fn clone(&self) -> ActionOutcomeSummary
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 ActionOutcomeSummary
impl Debug for ActionOutcomeSummary
Source§impl<'de> Deserialize<'de> for ActionOutcomeSummary
impl<'de> Deserialize<'de> for ActionOutcomeSummary
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 Hash for ActionOutcomeSummary
impl Hash for ActionOutcomeSummary
Source§impl Ord for ActionOutcomeSummary
impl Ord for ActionOutcomeSummary
Source§fn cmp(&self, other: &ActionOutcomeSummary) -> Ordering
fn cmp(&self, other: &ActionOutcomeSummary) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ActionOutcomeSummary
impl PartialEq for ActionOutcomeSummary
Source§impl PartialOrd for ActionOutcomeSummary
impl PartialOrd for ActionOutcomeSummary
Source§impl Serialize for ActionOutcomeSummary
impl Serialize for ActionOutcomeSummary
impl Eq for ActionOutcomeSummary
impl StructuralPartialEq for ActionOutcomeSummary
Auto Trait Implementations§
impl Freeze for ActionOutcomeSummary
impl RefUnwindSafe for ActionOutcomeSummary
impl Send for ActionOutcomeSummary
impl Sync for ActionOutcomeSummary
impl Unpin for ActionOutcomeSummary
impl UnsafeUnpin for ActionOutcomeSummary
impl UnwindSafe for ActionOutcomeSummary
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