pub struct UnknownPatch {
pub options: Option<CopyOptionsPatch>,
pub exclude: Option<VecPatch<String>>,
}
Fields§
§options: Option<CopyOptionsPatch>
§exclude: Option<VecPatch<String>>
Trait Implementations§
Source§impl Clone for UnknownPatch
impl Clone for UnknownPatch
Source§fn clone(&self) -> UnknownPatch
fn clone(&self) -> UnknownPatch
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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
Self
Source§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 Self
Source§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
Self
Source§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 Self
Source§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
Self
Source§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 Self
Source§fn new_empty_patch() -> UnknownPatch
fn new_empty_patch() -> UnknownPatch
Get an empty patch instance
Source§impl Patch<UnknownPatch> for CopyContent
impl Patch<UnknownPatch> for CopyContent
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
Self
Source§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 Self
Source§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