pub struct PartialReport {
pub applied_hunks: usize,
pub skipped: Vec<String>,
}Expand description
The outcome of a best-effort (partial) patch application.
Fields§
§applied_hunks: usizeNumber of Update hunks that applied (across all files).
skipped: Vec<String>One human-readable message per hunk/action that was SKIPPED because it did not apply. An empty list means the whole patch applied cleanly.
Trait Implementations§
Source§impl Clone for PartialReport
impl Clone for PartialReport
Source§fn clone(&self) -> PartialReport
fn clone(&self) -> PartialReport
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 PartialReport
impl Debug for PartialReport
Source§impl Default for PartialReport
impl Default for PartialReport
Source§fn default() -> PartialReport
fn default() -> PartialReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PartialReport
impl RefUnwindSafe for PartialReport
impl Send for PartialReport
impl Sync for PartialReport
impl Unpin for PartialReport
impl UnsafeUnpin for PartialReport
impl UnwindSafe for PartialReport
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