pub struct RejectApply {
pub content: Vec<u8>,
pub rejected: Vec<usize>,
}Expand description
The outcome of a hunk-by-hunk apply (git apply --reject).
Fields§
§content: Vec<u8>The bytes after every hunk that applied (rejected hunks are skipped).
rejected: Vec<usize>Indices into patch.hunks of the hunks that did not apply.
Trait Implementations§
Source§impl Clone for RejectApply
impl Clone for RejectApply
Source§fn clone(&self) -> RejectApply
fn clone(&self) -> RejectApply
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 RejectApply
impl Debug for RejectApply
impl Eq for RejectApply
Source§impl PartialEq for RejectApply
impl PartialEq for RejectApply
Source§fn eq(&self, other: &RejectApply) -> bool
fn eq(&self, other: &RejectApply) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RejectApply
Auto Trait Implementations§
impl Freeze for RejectApply
impl RefUnwindSafe for RejectApply
impl Send for RejectApply
impl Sync for RejectApply
impl Unpin for RejectApply
impl UnsafeUnpin for RejectApply
impl UnwindSafe for RejectApply
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