Struct dockerfile_parser::ArgInstruction 
source · [−]pub struct ArgInstruction {
    pub span: Span,
    pub name: SpannedString,
    pub value: Option<SpannedString>,
}Expand description
A Dockerfile ARG instruction.
Fields
span: Spanname: SpannedStringThe argument key
value: Option<SpannedString>An optional argument value.
This may be unset when passing arguments through to later stages in a multi-stage build.
Trait Implementations
sourceimpl Clone for ArgInstruction
 
impl Clone for ArgInstruction
sourcefn clone(&self) -> ArgInstruction
 
fn clone(&self) -> ArgInstruction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ArgInstruction
 
impl Debug for ArgInstruction
sourceimpl From<ArgInstruction> for Instruction
 
impl From<ArgInstruction> for Instruction
sourcefn from(ins: ArgInstruction) -> Self
 
fn from(ins: ArgInstruction) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ArgInstruction> for ArgInstruction
 
impl PartialEq<ArgInstruction> for ArgInstruction
sourcefn eq(&self, other: &ArgInstruction) -> bool
 
fn eq(&self, other: &ArgInstruction) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ArgInstruction) -> bool
 
fn ne(&self, other: &ArgInstruction) -> bool
This method tests for !=.
sourceimpl<'a> TryFrom<&'a Instruction> for &'a ArgInstruction
 
impl<'a> TryFrom<&'a Instruction> for &'a ArgInstruction
impl Eq for ArgInstruction
impl StructuralEq for ArgInstruction
impl StructuralPartialEq for ArgInstruction
Auto Trait Implementations
impl RefUnwindSafe for ArgInstruction
impl Send for ArgInstruction
impl Sync for ArgInstruction
impl Unpin for ArgInstruction
impl UnwindSafe for ArgInstruction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more