Struct dockerfile_parser::FromFlag
source · [−]pub struct FromFlag {
pub span: Span,
pub name: SpannedString,
pub value: SpannedString,
}Expand description
A key/value pair passed to a FROM instruction as a flag.
Examples include: FROM --platform=linux/amd64 node:lts-alpine
Fields
span: Spanname: SpannedStringvalue: SpannedStringTrait Implementations
impl Eq for FromFlag
impl StructuralEq for FromFlag
impl StructuralPartialEq for FromFlag
Auto Trait Implementations
impl RefUnwindSafe for FromFlag
impl Send for FromFlag
impl Sync for FromFlag
impl Unpin for FromFlag
impl UnwindSafe for FromFlag
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