pub struct ApplyPatchOptions {
pub old_path: PathBuf,
pub patch_path: PathBuf,
pub output_path: PathBuf,
pub hpatchz_path: Option<PathBuf>,
pub force: bool,
pub expected_sha256: Option<String>,
pub cache_size: Option<String>,
pub parallel_threads: Option<u16>,
pub verify_checksums: bool,
}Fields§
§old_path: PathBuf§patch_path: PathBuf§output_path: PathBuf§hpatchz_path: Option<PathBuf>§force: bool§expected_sha256: Option<String>§cache_size: Option<String>§parallel_threads: Option<u16>§verify_checksums: boolTrait Implementations§
Source§impl Clone for ApplyPatchOptions
impl Clone for ApplyPatchOptions
Source§fn clone(&self) -> ApplyPatchOptions
fn clone(&self) -> ApplyPatchOptions
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 ApplyPatchOptions
impl Debug for ApplyPatchOptions
Source§impl<'de> Deserialize<'de> for ApplyPatchOptions
impl<'de> Deserialize<'de> for ApplyPatchOptions
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 ApplyPatchOptions
impl RefUnwindSafe for ApplyPatchOptions
impl Send for ApplyPatchOptions
impl Sync for ApplyPatchOptions
impl Unpin for ApplyPatchOptions
impl UnsafeUnpin for ApplyPatchOptions
impl UnwindSafe for ApplyPatchOptions
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