pub struct PushOutcome {
pub project: String,
pub wrote: Vec<String>,
pub deleted: Vec<String>,
pub skipped: Vec<String>,
}Expand description
ign workspace push’s result model. Honest bookkeeping: wrote
and deleted are exactly what landed in the ONE import; skipped
records locally-deleted members left alone for want of --delete
(and deletions that turned out to have nothing to remove).
Fields§
§project: StringThe project pushed to (echoed from the manifest after verification).
wrote: Vec<String>Members written into the fresh export (and imported).
deleted: Vec<String>Members actually removed from the fresh export (and imported). A locally-deleted member the fresh export no longer carries is skipped, not deleted.
skipped: Vec<String>Locally-deleted members NOT removed because --delete was
absent (reported, never silently dropped), plus deletions
that found nothing to remove.
Trait Implementations§
Source§impl Clone for PushOutcome
impl Clone for PushOutcome
Source§fn clone(&self) -> PushOutcome
fn clone(&self) -> PushOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PushOutcome
impl Debug for PushOutcome
Auto Trait Implementations§
impl Freeze for PushOutcome
impl RefUnwindSafe for PushOutcome
impl Send for PushOutcome
impl Sync for PushOutcome
impl Unpin for PushOutcome
impl UnsafeUnpin for PushOutcome
impl UnwindSafe for PushOutcome
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