pub struct DockerLayerContent {
pub dockerfile_content: String,
pub additional_files: Vec<(String, Vec<u8>)>,
}Expand description
Represents the content of a Docker layer
Fields§
§dockerfile_content: StringThe Dockerfile fragment for this layer
additional_files: Vec<(String, Vec<u8>)>Additional files that should be copied alongside the Dockerfile
Implementations§
Trait Implementations§
Source§impl Clone for DockerLayerContent
impl Clone for DockerLayerContent
Source§fn clone(&self) -> DockerLayerContent
fn clone(&self) -> DockerLayerContent
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DockerLayerContent
impl RefUnwindSafe for DockerLayerContent
impl Send for DockerLayerContent
impl Sync for DockerLayerContent
impl Unpin for DockerLayerContent
impl UnwindSafe for DockerLayerContent
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