[−][src]Struct dockerfile_parser::ArgInstruction
A Dockerfile ARG
instruction.
Fields
span: Span
name: String
The argument key
name_span: Span
value: Option<String>
An optional argument value.
This may be unset when passing arguments through to later stages in a multi-stage build.
value_span: Option<Span>
Trait Implementations
impl Clone for ArgInstruction
[src]
fn clone(&self) -> ArgInstruction
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ArgInstruction
[src]
impl Eq for ArgInstruction
[src]
impl From<ArgInstruction> for Instruction
[src]
fn from(ins: ArgInstruction) -> Self
[src]
impl PartialEq<ArgInstruction> for ArgInstruction
[src]
fn eq(&self, other: &ArgInstruction) -> bool
[src]
fn ne(&self, other: &ArgInstruction) -> bool
[src]
impl StructuralEq for ArgInstruction
[src]
impl StructuralPartialEq for ArgInstruction
[src]
impl<'a> TryFrom<&'a Instruction> for &'a ArgInstruction
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,