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