Struct dockerfile_parser::ArgInstruction [−][src]
pub struct ArgInstruction {
pub span: Span,
pub name: SpannedString,
pub value: Option<SpannedString>,
}
Expand description
A Dockerfile ARG
instruction.
Fields
span: Span
name: SpannedString
The 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
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more