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: SpannedStringTrait Implementations§
Source§impl Clone for CopyInstruction
impl Clone for CopyInstruction
Source§fn clone(&self) -> CopyInstruction
fn clone(&self) -> CopyInstruction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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
impl Eq 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§fn eq(&self, other: &CopyInstruction) -> bool
fn eq(&self, other: &CopyInstruction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CopyInstruction
Source§impl<'a> TryFrom<&'a Instruction> for &'a CopyInstruction
impl<'a> TryFrom<&'a Instruction> for &'a 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 UnsafeUnpin 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