pub struct CreatePatchOptions {
pub old_path: PathBuf,
pub new_path: PathBuf,
pub patch_path: PathBuf,
pub hdiffz_path: Option<PathBuf>,
pub force: bool,
pub step_size: Option<String>,
pub old_window_size: Option<String>,
pub compression: Option<String>,
pub checksum: Option<String>,
pub parallel_threads: Option<u16>,
}Fields§
§old_path: PathBuf§new_path: PathBuf§patch_path: PathBuf§hdiffz_path: Option<PathBuf>§force: bool§step_size: Option<String>§old_window_size: Option<String>§compression: Option<String>§checksum: Option<String>§parallel_threads: Option<u16>Trait Implementations§
Source§impl Clone for CreatePatchOptions
impl Clone for CreatePatchOptions
Source§fn clone(&self) -> CreatePatchOptions
fn clone(&self) -> CreatePatchOptions
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 CreatePatchOptions
impl Debug for CreatePatchOptions
Source§impl<'de> Deserialize<'de> for CreatePatchOptions
impl<'de> Deserialize<'de> for CreatePatchOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CreatePatchOptions
impl RefUnwindSafe for CreatePatchOptions
impl Send for CreatePatchOptions
impl Sync for CreatePatchOptions
impl Unpin for CreatePatchOptions
impl UnsafeUnpin for CreatePatchOptions
impl UnwindSafe for CreatePatchOptions
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