Struct dofigen_lib::Dofigen
source · pub struct Dofigen {
pub context: Vec<String>,
pub ignore: Vec<String>,
pub builders: HashMap<String, Stage>,
pub stage: Stage,
pub entrypoint: Vec<String>,
pub cmd: Vec<String>,
pub expose: Vec<Port>,
pub healthcheck: Option<Healthcheck>,
}Expand description
Represents the Dockerfile main stage
Fields§
§context: Vec<String>§ignore: Vec<String>§builders: HashMap<String, Stage>§stage: Stage§entrypoint: Vec<String>§cmd: Vec<String>§expose: Vec<Port>§healthcheck: Option<Healthcheck>Trait Implementations§
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 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
Selfsource§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 Selfsource§fn new_empty_patch() -> DofigenPatch
fn new_empty_patch() -> DofigenPatch
Get an empty patch instance
impl StructuralPartialEq for Dofigen
Auto Trait Implementations§
impl Freeze for Dofigen
impl RefUnwindSafe for Dofigen
impl Send for Dofigen
impl Sync for Dofigen
impl Unpin for Dofigen
impl UnwindSafe for Dofigen
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)