pub struct RunPatch {
pub run: Option<VecPatch<String>>,
pub shell: Option<VecPatch<String>>,
pub cache: Option<VecDeepPatch<Cache, ParsableStruct<CachePatch>>>,
pub bind: Option<VecDeepPatch<Bind, ParsableStruct<BindPatch>>>,
}Fields§
§run: Option<VecPatch<String>>§shell: 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 JsonSchema for RunPatch
impl JsonSchema for RunPatch
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§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