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: Span
§name: SpannedString
§value: SpannedString
Trait Implementations§
impl Eq for FromFlag
impl StructuralPartialEq for FromFlag
Auto Trait Implementations§
impl Freeze for FromFlag
impl RefUnwindSafe for FromFlag
impl Send for FromFlag
impl Sync for FromFlag
impl Unpin for FromFlag
impl UnwindSafe for FromFlag
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