[][src]Struct google_cloudbuild1::Volume

pub struct Volume {
    pub path: Option<String>,
    pub name: Option<String>,
}

Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.

This type is not used in any activity, and only used as part of another schema.

Fields

path: Option<String>

Path at which to mount the volume.

Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.

name: Option<String>

Name of the volume to mount.

Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.

Trait Implementations

impl Clone for Volume[src]

impl Debug for Volume[src]

impl Default for Volume[src]

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

impl Part for Volume[src]

impl Serialize for Volume[src]

Auto Trait Implementations

impl RefUnwindSafe for Volume

impl Send for Volume

impl Sync for Volume

impl Unpin for Volume

impl UnwindSafe for Volume

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.

impl<T> Typeable for T where
    T: Any