pub struct StateDiffOutput {
pub contract: String,
pub diff: Option<SemanticDiff>,
pub error: Option<ContractErrorBody>,
pub version: u32,
}Expand description
The complete deterministic output.
Exactly one of diff and error is present. diff is SemanticDiff
serialized exactly as it already serializes — this contract does not
reshape it, because the existing semantic result is the contract.
Fields§
§contract: String§diff: Option<SemanticDiff>§error: Option<ContractErrorBody>§version: u32Trait Implementations§
Source§impl Clone for StateDiffOutput
impl Clone for StateDiffOutput
Source§impl Debug for StateDiffOutput
impl Debug for StateDiffOutput
Source§impl<'de> Deserialize<'de> for StateDiffOutput
impl<'de> Deserialize<'de> for StateDiffOutput
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 StateDiffOutput
impl RefUnwindSafe for StateDiffOutput
impl Send for StateDiffOutput
impl Sync for StateDiffOutput
impl Unpin for StateDiffOutput
impl UnsafeUnpin for StateDiffOutput
impl UnwindSafe for StateDiffOutput
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