Struct dockerfile_parser::CopyInstruction
source · [−]pub struct CopyInstruction {
pub span: Span,
pub flags: Vec<CopyFlag>,
pub sources: Vec<SpannedString>,
pub destination: SpannedString,
}Expand description
A Dockerfile COPY instruction.
Fields
span: Spanflags: Vec<CopyFlag>sources: Vec<SpannedString>destination: SpannedStringTrait Implementations
sourceimpl Clone for CopyInstruction
impl Clone for CopyInstruction
sourcefn clone(&self) -> CopyInstruction
fn clone(&self) -> CopyInstruction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CopyInstruction
impl Debug for CopyInstruction
sourceimpl From<CopyInstruction> for Instruction
impl From<CopyInstruction> for Instruction
sourcefn from(ins: CopyInstruction) -> Self
fn from(ins: CopyInstruction) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<CopyInstruction> for CopyInstruction
impl PartialEq<CopyInstruction> for CopyInstruction
sourcefn eq(&self, other: &CopyInstruction) -> bool
fn eq(&self, other: &CopyInstruction) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CopyInstruction) -> bool
fn ne(&self, other: &CopyInstruction) -> bool
This method tests for !=.
sourceimpl<'a> TryFrom<&'a Instruction> for &'a CopyInstruction
impl<'a> TryFrom<&'a Instruction> for &'a CopyInstruction
impl Eq for CopyInstruction
impl StructuralEq for CopyInstruction
impl StructuralPartialEq for CopyInstruction
Auto Trait Implementations
impl RefUnwindSafe for CopyInstruction
impl Send for CopyInstruction
impl Sync for CopyInstruction
impl Unpin for CopyInstruction
impl UnwindSafe for CopyInstruction
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