pub struct DofigenPatch {
pub context: Option<VecPatch<String>>,
pub ignore: Option<VecPatch<String>>,
pub builders: Option<HashMapDeepPatch<String, StagePatch>>,
pub stage: Option<StagePatch>,
pub entrypoint: Option<VecPatch<String>>,
pub cmd: Option<VecPatch<String>>,
pub volume: Option<VecPatch<String>>,
pub expose: Option<VecDeepPatch<Port, ParsableStruct<PortPatch>>>,
pub healthcheck: Option<Option<HealthcheckPatch>>,
}
Fields§
§context: Option<VecPatch<String>>
§ignore: Option<VecPatch<String>>
§builders: Option<HashMapDeepPatch<String, StagePatch>>
§stage: Option<StagePatch>
§entrypoint: Option<VecPatch<String>>
§cmd: Option<VecPatch<String>>
§volume: Option<VecPatch<String>>
§expose: Option<VecDeepPatch<Port, ParsableStruct<PortPatch>>>
§healthcheck: Option<Option<HealthcheckPatch>>
Trait Implementations§
Source§impl Clone for DofigenPatch
impl Clone for DofigenPatch
Source§fn clone(&self) -> DofigenPatch
fn clone(&self) -> DofigenPatch
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 DofigenPatch
impl Debug for DofigenPatch
Source§impl Default for DofigenPatch
impl Default for DofigenPatch
Source§fn default() -> DofigenPatch
fn default() -> DofigenPatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DofigenPatchwhere
DofigenPatch: Default,
impl<'de> Deserialize<'de> for DofigenPatchwhere
DofigenPatch: Default,
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 From<DofigenPatch> for Dofigen
impl From<DofigenPatch> for Dofigen
Source§fn from(value: DofigenPatch) -> Self
fn from(value: DofigenPatch) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DofigenPatch
impl PartialEq for DofigenPatch
Source§impl Patch<DofigenPatch> for Dofigen
impl Patch<DofigenPatch> for Dofigen
Source§fn apply(&mut self, patch: DofigenPatch)
fn apply(&mut self, patch: DofigenPatch)
Apply a patch
Source§fn into_patch(self) -> DofigenPatch
fn into_patch(self) -> DofigenPatch
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) -> DofigenPatch
fn into_patch_by_diff(self, previous_struct: Self) -> DofigenPatch
Returns a patch that when applied turns
previous_struct
into Self
Source§fn new_empty_patch() -> DofigenPatch
fn new_empty_patch() -> DofigenPatch
Get an empty patch instance
impl StructuralPartialEq for DofigenPatch
Auto Trait Implementations§
impl Freeze for DofigenPatch
impl RefUnwindSafe for DofigenPatch
impl Send for DofigenPatch
impl Sync for DofigenPatch
impl Unpin for DofigenPatch
impl UnwindSafe for DofigenPatch
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