Struct dockerfile_parser::FromInstruction [−][src]
pub struct FromInstruction {
pub span: Span,
pub image: SpannedString,
pub image_parsed: ImageRef,
pub index: usize,
pub alias: Option<SpannedString>,
}Expand description
A Dockerfile FROM instruction.
Contains spans for the entire instruction, the image, and the alias (if any).
Fields
span: Spanimage: SpannedStringimage_parsed: ImageRefindex: usizealias: Option<SpannedString>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 FromInstruction
impl Send for FromInstruction
impl Sync for FromInstruction
impl Unpin for FromInstruction
impl UnwindSafe for FromInstruction
Blanket Implementations
Mutably borrows from an owned value. Read more