Struct dofigen_lib::RunPatch
source · pub struct RunPatch {
pub run: Option<VecPatch<String>>,
pub cache: Option<VecDeepPatch<Cache, ParsableStruct<CachePatch>>>,
pub bind: Option<VecDeepPatch<Bind, ParsableStruct<BindPatch>>>,
}Fields§
§run: Option<VecPatch<String>>§cache: Option<VecDeepPatch<Cache, ParsableStruct<CachePatch>>>§bind: Option<VecDeepPatch<Bind, ParsableStruct<BindPatch>>>Trait Implementations§
source§impl<'de> Deserialize<'de> for RunPatch
impl<'de> Deserialize<'de> for RunPatch
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<RunPatch> for Run
impl Patch<RunPatch> for Run
source§fn into_patch(self) -> RunPatch
fn into_patch(self) -> RunPatch
Returns a patch that when applied turns any struct of the same type into
Selfsource§fn into_patch_by_diff(self, previous_struct: Self) -> RunPatch
fn into_patch_by_diff(self, previous_struct: Self) -> RunPatch
Returns a patch that when applied turns
previous_struct into Selfsource§fn new_empty_patch() -> RunPatch
fn new_empty_patch() -> RunPatch
Get an empty patch instance
impl StructuralPartialEq for RunPatch
Auto Trait Implementations§
impl Freeze for RunPatch
impl RefUnwindSafe for RunPatch
impl Send for RunPatch
impl Sync for RunPatch
impl Unpin for RunPatch
impl UnwindSafe for RunPatch
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)