pub struct CopyPatch {
    pub from: Option<FromContextPatch>,
    pub paths: Option<VecPatch<String>>,
    pub options: Option<CopyOptionsPatch>,
}Fields§
§from: Option<FromContextPatch>§paths: Option<VecPatch<String>>§options: Option<CopyOptionsPatch>Trait Implementations§
source§impl<'de> Deserialize<'de> for CopyPatch
 
impl<'de> Deserialize<'de> for CopyPatch
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 Patch<CopyPatch> for Copy
 
impl Patch<CopyPatch> for Copy
source§fn into_patch(self) -> CopyPatch
 
fn into_patch(self) -> CopyPatch
Returns a patch that when applied turns any struct of the same type into 
Selfsource§fn into_patch_by_diff(self, previous_struct: Self) -> CopyPatch
 
fn into_patch_by_diff(self, previous_struct: Self) -> CopyPatch
Returns a patch that when applied turns 
previous_struct into Selfsource§fn new_empty_patch() -> CopyPatch
 
fn new_empty_patch() -> CopyPatch
Get an empty patch instance
impl StructuralPartialEq for CopyPatch
Auto Trait Implementations§
impl Freeze for CopyPatch
impl RefUnwindSafe for CopyPatch
impl Send for CopyPatch
impl Sync for CopyPatch
impl Unpin for CopyPatch
impl UnwindSafe for CopyPatch
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)