pub struct TargetSyncOutcome {
pub target: String,
pub items_synced: usize,
pub items_removed: usize,
pub errors: Vec<String>,
pub synced_outputs: Vec<TargetSyncedOutput>,
pub removed_dest_paths: Vec<String>,
}Expand description
Result of syncing content to a single target directory.
Fields§
§target: StringTarget directory name (e.g. “.claude”).
items_synced: usizeNumber of items successfully synced.
items_removed: usizeNumber of items removed (orphan cleanup).
errors: Vec<String>Non-fatal errors encountered during sync.
synced_outputs: Vec<TargetSyncedOutput>Outputs successfully copied to this target (for lock persistence).
removed_dest_paths: Vec<String>Dest paths removed from this target (for lock persistence).
Trait Implementations§
Source§impl Clone for TargetSyncOutcome
impl Clone for TargetSyncOutcome
Source§fn clone(&self) -> TargetSyncOutcome
fn clone(&self) -> TargetSyncOutcome
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 moreAuto Trait Implementations§
impl Freeze for TargetSyncOutcome
impl RefUnwindSafe for TargetSyncOutcome
impl Send for TargetSyncOutcome
impl Sync for TargetSyncOutcome
impl Unpin for TargetSyncOutcome
impl UnsafeUnpin for TargetSyncOutcome
impl UnwindSafe for TargetSyncOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more