pub struct DumpDeleteOutcome {
pub deleted: bool,
pub note: Option<String>,
}Expand description
Final result of a delete operation, passed from the action layer to the
Renderer via Renderer::project_dump_deleted.
deleted: false has two distinct meanings, discriminated by note:
- (a) Probe case: no existing dump was found —
create_project_dumpcreated a new in-progress dump as a probe side effect.notedescribes the probe dump id. - (b) Foreign-slot case: the server’s single dump slot is occupied by a
different project’s dump. The delete is a no-op (we never remove another
project’s dump).
notenames the occupying project’s IRI.
Delete failures are returned as Err(Diagnostic) from the action, never
as a DumpDeleteOutcome.
Fields§
§deleted: booltrue when an existing dump was actually removed.
false when no completed/failed dump existed (see doc-comment above for
the two false cases).
note: Option<String>Human-readable note for the deleted: false cases.
None when deleted: true.
Auto Trait Implementations§
impl Freeze for DumpDeleteOutcome
impl RefUnwindSafe for DumpDeleteOutcome
impl Send for DumpDeleteOutcome
impl Sync for DumpDeleteOutcome
impl Unpin for DumpDeleteOutcome
impl UnsafeUnpin for DumpDeleteOutcome
impl UnwindSafe for DumpDeleteOutcome
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