pub struct ApplyGitRequest {
pub cwd: PathBuf,
pub diff: String,
pub revert: bool,
pub preflight: bool,
}Expand description
Parameters for invoking apply_git_patch.
Fields§
§cwd: PathBuf§diff: String§revert: bool§preflight: boolTrait Implementations§
Source§impl Clone for ApplyGitRequest
impl Clone for ApplyGitRequest
Source§fn clone(&self) -> ApplyGitRequest
fn clone(&self) -> ApplyGitRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 ApplyGitRequest
impl RefUnwindSafe for ApplyGitRequest
impl Send for ApplyGitRequest
impl Sync for ApplyGitRequest
impl Unpin for ApplyGitRequest
impl UnwindSafe for ApplyGitRequest
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