pub struct RehearsalOutcome {
pub passed: bool,
pub registry_name: String,
pub packages_attempted: usize,
pub packages_published: usize,
pub summary: String,
}Expand description
Outcome of a rehearsal run. Sufficient for callers (CLI, future hard gate) to decide whether live dispatch is authorized without re-reading events.
#97 PR 2. The hard gate (#97 PR 3) will bind this outcome to a plan_id
so “rehearsal passed” can’t be claimed for a different workspace state.
Fields§
§passed: bool§registry_name: String§packages_attempted: usize§packages_published: usize§summary: StringTrait Implementations§
Source§impl Clone for RehearsalOutcome
impl Clone for RehearsalOutcome
Source§fn clone(&self) -> RehearsalOutcome
fn clone(&self) -> RehearsalOutcome
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 moreAuto Trait Implementations§
impl Freeze for RehearsalOutcome
impl RefUnwindSafe for RehearsalOutcome
impl Send for RehearsalOutcome
impl Sync for RehearsalOutcome
impl Unpin for RehearsalOutcome
impl UnsafeUnpin for RehearsalOutcome
impl UnwindSafe for RehearsalOutcome
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