pub struct MiscInstruction {
pub span: Span,
pub instruction: SpannedString,
pub arguments: BreakableString,
}
Expand description
A miscellaneous (unsupported) Dockerfile instruction.
These are instructions that aren’t explicitly parsed. They may be invalid, deprecated, or otherwise unsupported by this library.
Unsupported but valid commands include: MAINTAINER
, EXPOSE
, VOLUME
,
USER
, WORKDIR
, ONBUILD
, STOPSIGNAL
, HEALTHCHECK
, SHELL
Fields§
§span: Span
§instruction: SpannedString
§arguments: BreakableString
Trait Implementations§
Source§impl Clone for MiscInstruction
impl Clone for MiscInstruction
Source§fn clone(&self) -> MiscInstruction
fn clone(&self) -> MiscInstruction
Returns a copy of the value. Read more
1.0.0 · 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 MiscInstruction
impl Debug for MiscInstruction
Source§impl From<MiscInstruction> for Instruction
impl From<MiscInstruction> for Instruction
Source§fn from(ins: MiscInstruction) -> Self
fn from(ins: MiscInstruction) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MiscInstruction
impl PartialEq for MiscInstruction
Source§impl<'a> TryFrom<&'a Instruction> for &'a MiscInstruction
impl<'a> TryFrom<&'a Instruction> for &'a MiscInstruction
impl Eq for MiscInstruction
impl StructuralPartialEq for MiscInstruction
Auto Trait Implementations§
impl Freeze for MiscInstruction
impl RefUnwindSafe for MiscInstruction
impl Send for MiscInstruction
impl Sync for MiscInstruction
impl Unpin for MiscInstruction
impl UnwindSafe for MiscInstruction
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