pub struct ActionOutcome {
pub item_id: ItemId,
pub action: ActionTaken,
pub dest_path: DestPath,
pub source_name: SourceName,
pub source_checksum: Option<ContentHash>,
pub installed_checksum: Option<ContentHash>,
}Expand description
What action was taken for a single item.
Fields§
§item_id: ItemId§action: ActionTaken§dest_path: DestPath§source_name: SourceNameWhich source this item came from.
source_checksum: Option<ContentHash>Source checksum (pre-rewrite hash of source content).
installed_checksum: Option<ContentHash>Installed checksum (post-rewrite hash of what was written to disk).
Trait Implementations§
Source§impl Clone for ActionOutcome
impl Clone for ActionOutcome
Source§fn clone(&self) -> ActionOutcome
fn clone(&self) -> ActionOutcome
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 ActionOutcome
impl RefUnwindSafe for ActionOutcome
impl Send for ActionOutcome
impl Sync for ActionOutcome
impl Unpin for ActionOutcome
impl UnsafeUnpin for ActionOutcome
impl UnwindSafe for ActionOutcome
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