pub struct TriggerMatchOutput {
pub contract: String,
pub error: Option<ContractErrorBody>,
pub outcome: Option<MatchOutcome>,
pub version: u32,
}Expand description
The complete deterministic output of one trigger-match decision.
Exactly one of error and outcome is present. Both carry the evaluating
implementation’s own contract identity and version, never the input’s, so a
mismatch cannot be laundered back into agreement.
Fields§
§contract: String§error: Option<ContractErrorBody>§outcome: Option<MatchOutcome>§version: u32Implementations§
Trait Implementations§
Source§impl Clone for TriggerMatchOutput
impl Clone for TriggerMatchOutput
Source§impl Debug for TriggerMatchOutput
impl Debug for TriggerMatchOutput
Source§impl<'de> Deserialize<'de> for TriggerMatchOutput
impl<'de> Deserialize<'de> for TriggerMatchOutput
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
impl Eq for TriggerMatchOutput
Source§impl PartialEq for TriggerMatchOutput
impl PartialEq for TriggerMatchOutput
Source§impl Serialize for TriggerMatchOutput
impl Serialize for TriggerMatchOutput
impl StructuralPartialEq for TriggerMatchOutput
Auto Trait Implementations§
impl Freeze for TriggerMatchOutput
impl RefUnwindSafe for TriggerMatchOutput
impl Send for TriggerMatchOutput
impl Sync for TriggerMatchOutput
impl Unpin for TriggerMatchOutput
impl UnsafeUnpin for TriggerMatchOutput
impl UnwindSafe for TriggerMatchOutput
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