[][src]Struct buildkit_proto::pb::ExecOp

pub struct ExecOp {
    pub meta: Option<Meta>,
    pub mounts: Vec<Mount>,
    pub network: i32,
    pub security: i32,
}

ExecOp executes a command in a container.

Fields

meta: Option<Meta>mounts: Vec<Mount>network: i32security: i32

Methods

impl ExecOp[src]

pub fn network(&self) -> NetMode[src]

pub fn set_network(&mut self, value: NetMode)[src]

pub fn security(&self) -> SecurityMode[src]

pub fn set_security(&mut self, value: SecurityMode)[src]

Trait Implementations

impl Clone for ExecOp[src]

impl Default for ExecOp[src]

impl PartialEq<ExecOp> for ExecOp[src]

impl Debug for ExecOp[src]

impl Message for ExecOp[src]

Auto Trait Implementations

impl Send for ExecOp

impl Sync for ExecOp

impl Unpin for ExecOp

impl RefUnwindSafe for ExecOp

impl UnwindSafe for ExecOp

Blanket Implementations

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> 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]