pub struct Amendment {
pub summary: Option<String>,
pub evidence: Vec<EvidenceV1>,
pub merge_commit: Option<String>,
pub reason: Option<String>,
pub queen: bool,
}Expand description
What an amendment of a result says: on a submitted task the whole new
evidence list and a new summary or none (the summary stays); on a done
task only merge_commit (the merge record).
Fields§
§summary: Option<String>§evidence: Vec<EvidenceV1>§merge_commit: Option<String>§reason: Option<String>§queen: boolThe caller checked that this process runs for a registered Queen
session (lean_ctx_cloud::queens::this_session_is_queen): it may
record a merge like a person.
Trait Implementations§
impl Eq for Amendment
impl StructuralPartialEq for Amendment
Auto Trait Implementations§
impl Forget for Amendment
impl Freeze for Amendment
impl Move for Amendment
impl RefUnwindSafe for Amendment
impl Send for Amendmentwhere
RawVecInner: Send,
impl Sync for Amendmentwhere
RawVecInner: Sync,
impl Unpin for Amendment
impl UnsafeUnpin for Amendmentwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<EvidenceV1>: UnsafeUnpin,
impl UnwindSafe for Amendmentwhere
RawVecInner: UnwindSafe,
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