[][src]Struct buildkit_proto::pb::Mount

pub struct Mount {
    pub input: i64,
    pub selector: String,
    pub dest: String,
    pub output: i64,
    pub readonly: bool,
    pub mount_type: i32,
    pub cache_opt: Option<CacheOpt>,
    pub secret_opt: Option<SecretOpt>,
    pub ssh_opt: Option<SshOpt>,
}

Mount specifies how to mount an input Op as a filesystem.

Fields

input: i64selector: Stringdest: Stringoutput: i64readonly: boolmount_type: i32cache_opt: Option<CacheOpt>secret_opt: Option<SecretOpt>ssh_opt: Option<SshOpt>

Methods

impl Mount[src]

pub fn mount_type(&self) -> MountType[src]

pub fn set_mount_type(&mut self, value: MountType)[src]

Trait Implementations

impl Default for Mount[src]

impl Clone for Mount[src]

impl PartialEq<Mount> for Mount[src]

impl Debug for Mount[src]

impl Message for Mount[src]

Auto Trait Implementations

impl Sync for Mount

impl Send for Mount

impl Unpin for Mount

impl UnwindSafe for Mount

impl RefUnwindSafe for Mount

Blanket Implementations

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> From<T> for T[src]

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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