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: Span
§flags: Vec<CopyFlag>
§sources: Vec<SpannedString>
§destination: SpannedString
Trait Implementations§
Source§impl Clone for CopyInstruction
impl Clone for CopyInstruction
Source§fn clone(&self) -> CopyInstruction
fn clone(&self) -> CopyInstruction
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CopyInstruction
impl Debug for CopyInstruction
Source§impl From<CopyInstruction> for Instruction
impl From<CopyInstruction> for Instruction
Source§fn from(ins: CopyInstruction) -> Self
fn from(ins: CopyInstruction) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CopyInstruction
impl PartialEq for CopyInstruction
Source§impl<'a> TryFrom<&'a Instruction> for &'a CopyInstruction
impl<'a> TryFrom<&'a Instruction> for &'a CopyInstruction
impl Eq for CopyInstruction
impl StructuralPartialEq for CopyInstruction
Auto Trait Implementations§
impl Freeze for CopyInstruction
impl RefUnwindSafe for CopyInstruction
impl Send for CopyInstruction
impl Sync for CopyInstruction
impl Unpin for CopyInstruction
impl UnwindSafe for CopyInstruction
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