pub struct ResultDocument {
pub version: u32,
pub batch: BatchResult,
pub accepted: bool,
}Expand description
Finished repair response; accepted is derived rather than trusted from storage.
Fields§
§version: u32Independent contract version.
batch: BatchResultComplete phase evidence.
accepted: boolDerived from successful selection and the independently finalized full report.
Trait Implementations§
Source§impl Clone for ResultDocument
impl Clone for ResultDocument
Source§impl Debug for ResultDocument
impl Debug for ResultDocument
Source§impl<'de> Deserialize<'de> for ResultDocument
impl<'de> Deserialize<'de> for ResultDocument
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 From<BatchResult> for ResultDocument
impl From<BatchResult> for ResultDocument
Source§fn from(batch: BatchResult) -> Self
fn from(batch: BatchResult) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ResultDocument
impl PartialEq for ResultDocument
Source§impl Serialize for ResultDocument
impl Serialize for ResultDocument
impl StructuralPartialEq for ResultDocument
Auto Trait Implementations§
impl Freeze for ResultDocument
impl RefUnwindSafe for ResultDocument
impl Send for ResultDocument
impl Sync for ResultDocument
impl Unpin for ResultDocument
impl UnsafeUnpin for ResultDocument
impl UnwindSafe for ResultDocument
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