[][src]Struct openshift_openapi::api::build::v1::ImageSourcePath

pub struct ImageSourcePath {
    pub destination_dir: String,
    pub source_path: String,
}

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

impl Clone for ImageSourcePath[src]

impl Debug for ImageSourcePath[src]

impl Default for ImageSourcePath[src]

impl<'de> Deserialize<'de> for ImageSourcePath[src]

impl PartialEq<ImageSourcePath> for ImageSourcePath[src]

impl Serialize for ImageSourcePath[src]

impl StructuralPartialEq for ImageSourcePath[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.