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
Self
Source§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 Self
Source§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