Struct dofigen_lib::Copy
source · pub struct Copy {
pub paths: Vec<String>,
pub target: Option<String>,
pub chown: Option<Chown>,
pub chmod: Option<String>,
pub exclude: Option<Vec<String>>,
pub link: Option<bool>,
pub parents: Option<bool>,
pub from: Option<String>,
}Expand description
Represents the COPY instruction in a Dockerfile. See https://docs.docker.com/reference/dockerfile/#copy
Fields§
§paths: Vec<String>§target: Option<String>§chown: Option<Chown>See https://docs.docker.com/reference/dockerfile/#copy—chown—chmod
chmod: Option<String>See https://docs.docker.com/reference/dockerfile/#copy—chown—chmod
exclude: Option<Vec<String>>See https://docs.docker.com/reference/dockerfile/#copy—exclude
link: Option<bool>See https://docs.docker.com/reference/dockerfile/#copy—link
parents: Option<bool>See https://docs.docker.com/reference/dockerfile/#copy—parents
from: Option<String>See https://docs.docker.com/reference/dockerfile/#copy—from
Trait Implementations§
source§impl<'de> Deserialize<'de> for Copy
impl<'de> Deserialize<'de> for Copy
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Copy
impl PartialEq for Copy
impl StructuralPartialEq for Copy
Auto Trait Implementations§
impl Freeze for Copy
impl RefUnwindSafe for Copy
impl Send for Copy
impl Sync for Copy
impl Unpin for Copy
impl UnwindSafe for Copy
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)