pub struct HealthcheckInstruction {
pub span: Span,
pub flags: Vec<HealthcheckFlag>,
pub cmd: Option<Box<Instruction>>,
}Expand description
A Dockerfile HEALTHCHECK instruction.
Either HEALTHCHECK [OPTIONS] CMD <command> (with cmd set to the nested
CMD instruction) or HEALTHCHECK NONE (with cmd being None).
Fields§
§span: Span§flags: Vec<HealthcheckFlag>§cmd: Option<Box<Instruction>>Trait Implementations§
Source§impl Clone for HealthcheckInstruction
impl Clone for HealthcheckInstruction
Source§fn clone(&self) -> HealthcheckInstruction
fn clone(&self) -> HealthcheckInstruction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HealthcheckInstruction
impl Debug for HealthcheckInstruction
impl Eq for HealthcheckInstruction
Source§impl PartialEq for HealthcheckInstruction
impl PartialEq for HealthcheckInstruction
Source§fn eq(&self, other: &HealthcheckInstruction) -> bool
fn eq(&self, other: &HealthcheckInstruction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HealthcheckInstruction
Auto Trait Implementations§
impl Freeze for HealthcheckInstruction
impl RefUnwindSafe for HealthcheckInstruction
impl Send for HealthcheckInstruction
impl Sync for HealthcheckInstruction
impl Unpin for HealthcheckInstruction
impl UnsafeUnpin for HealthcheckInstruction
impl UnwindSafe for HealthcheckInstruction
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.