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§
Source§impl Clone for ArgInstruction
impl Clone for ArgInstruction
Source§fn clone(&self) -> ArgInstruction
fn clone(&self) -> ArgInstruction
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 ArgInstruction
impl Debug for ArgInstruction
Source§impl From<ArgInstruction> for Instruction
impl From<ArgInstruction> for Instruction
Source§fn from(ins: ArgInstruction) -> Self
fn from(ins: ArgInstruction) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ArgInstruction
impl PartialEq for ArgInstruction
Source§impl<'a> TryFrom<&'a Instruction> for &'a ArgInstruction
impl<'a> TryFrom<&'a Instruction> for &'a ArgInstruction
impl Eq for ArgInstruction
impl StructuralPartialEq for ArgInstruction
Auto Trait Implementations§
impl Freeze for ArgInstruction
impl RefUnwindSafe for ArgInstruction
impl Send for ArgInstruction
impl Sync for ArgInstruction
impl Unpin for ArgInstruction
impl UnwindSafe for ArgInstruction
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