pub struct ImageSourcePath {
pub destination_dir: String,
pub source_path: String,
}
Expand description
ImageSourcePath describes a path to be copied from a source image and its destination within the build directory.
Fields§
§destination_dir: String
destinationDir is the relative directory within the build directory where files copied from the image are placed.
source_path: String
sourcePath is the absolute path of the file or directory inside the image to copy to the build directory. If the source path ends in /. then the content of the directory will be copied, but the directory itself will not be created at the destination.
Trait Implementations§
Source§impl Clone for ImageSourcePath
impl Clone for ImageSourcePath
Source§fn clone(&self) -> ImageSourcePath
fn clone(&self) -> ImageSourcePath
Returns a duplicate 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 ImageSourcePath
impl Debug for ImageSourcePath
Source§impl Default for ImageSourcePath
impl Default for ImageSourcePath
Source§fn default() -> ImageSourcePath
fn default() -> ImageSourcePath
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageSourcePath
impl<'de> Deserialize<'de> for ImageSourcePath
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 ImageSourcePath
impl PartialEq for ImageSourcePath
Source§impl Serialize for ImageSourcePath
impl Serialize for ImageSourcePath
impl StructuralPartialEq for ImageSourcePath
Auto Trait Implementations§
impl Freeze for ImageSourcePath
impl RefUnwindSafe for ImageSourcePath
impl Send for ImageSourcePath
impl Sync for ImageSourcePath
impl Unpin for ImageSourcePath
impl UnwindSafe for ImageSourcePath
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