pub struct UnknownPatch {
    pub options: Option<CopyOptionsPatch>,
}Fields§
§options: Option<CopyOptionsPatch>Trait Implementations§
source§impl Clone for UnknownPatch
 
impl Clone for UnknownPatch
source§fn clone(&self) -> UnknownPatch
 
fn clone(&self) -> UnknownPatch
Returns a copy 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 moresource§impl Debug for UnknownPatch
 
impl Debug for UnknownPatch
source§impl Default for UnknownPatch
 
impl Default for UnknownPatch
source§fn default() -> UnknownPatch
 
fn default() -> UnknownPatch
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UnknownPatch
 
impl<'de> Deserialize<'de> for UnknownPatch
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
source§impl PartialEq for UnknownPatch
 
impl PartialEq for UnknownPatch
source§impl Patch<UnknownPatch> for Add
 
impl Patch<UnknownPatch> for Add
source§fn apply(&mut self, patch: UnknownPatch)
 
fn apply(&mut self, patch: UnknownPatch)
Apply a patch
source§fn into_patch(self) -> UnknownPatch
 
fn into_patch(self) -> UnknownPatch
Returns a patch that when applied turns any struct of the same type into 
Selfsource§fn into_patch_by_diff(self, previous_struct: Self) -> UnknownPatch
 
fn into_patch_by_diff(self, previous_struct: Self) -> UnknownPatch
Returns a patch that when applied turns 
previous_struct into Selfsource§fn new_empty_patch() -> UnknownPatch
 
fn new_empty_patch() -> UnknownPatch
Get an empty patch instance
source§impl Patch<UnknownPatch> for AddGitRepo
 
impl Patch<UnknownPatch> for AddGitRepo
source§fn apply(&mut self, patch: UnknownPatch)
 
fn apply(&mut self, patch: UnknownPatch)
Apply a patch
source§fn into_patch(self) -> UnknownPatch
 
fn into_patch(self) -> UnknownPatch
Returns a patch that when applied turns any struct of the same type into 
Selfsource§fn into_patch_by_diff(self, previous_struct: Self) -> UnknownPatch
 
fn into_patch_by_diff(self, previous_struct: Self) -> UnknownPatch
Returns a patch that when applied turns 
previous_struct into Selfsource§fn new_empty_patch() -> UnknownPatch
 
fn new_empty_patch() -> UnknownPatch
Get an empty patch instance
source§impl Patch<UnknownPatch> for Copy
 
impl Patch<UnknownPatch> for Copy
source§fn apply(&mut self, patch: UnknownPatch)
 
fn apply(&mut self, patch: UnknownPatch)
Apply a patch
source§fn into_patch(self) -> UnknownPatch
 
fn into_patch(self) -> UnknownPatch
Returns a patch that when applied turns any struct of the same type into 
Selfsource§fn into_patch_by_diff(self, previous_struct: Self) -> UnknownPatch
 
fn into_patch_by_diff(self, previous_struct: Self) -> UnknownPatch
Returns a patch that when applied turns 
previous_struct into Selfsource§fn new_empty_patch() -> UnknownPatch
 
fn new_empty_patch() -> UnknownPatch
Get an empty patch instance
impl StructuralPartialEq for UnknownPatch
Auto Trait Implementations§
impl Freeze for UnknownPatch
impl RefUnwindSafe for UnknownPatch
impl Send for UnknownPatch
impl Sync for UnknownPatch
impl Unpin for UnknownPatch
impl UnwindSafe for UnknownPatch
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)