Enum gapi_grpc::grafeas::v1beta1::image::layer::Directive[][src]

#[repr(i32)]pub enum Directive {
    Unspecified,
    Maintainer,
    Run,
    Cmd,
    Label,
    Expose,
    Env,
    Add,
    Copy,
    Entrypoint,
    Volume,
    User,
    Workdir,
    Arg,
    Onbuild,
    Stopsignal,
    Healthcheck,
    Shell,
}

Instructions from Dockerfile.

Variants

Unspecified

Default value for unsupported/missing directive.

Maintainer

https://docs.docker.com/engine/reference/builder/

Run

https://docs.docker.com/engine/reference/builder/

Cmd

https://docs.docker.com/engine/reference/builder/

Label

https://docs.docker.com/engine/reference/builder/

Expose

https://docs.docker.com/engine/reference/builder/

Env

https://docs.docker.com/engine/reference/builder/

Add

https://docs.docker.com/engine/reference/builder/

Copy

https://docs.docker.com/engine/reference/builder/

Entrypoint

https://docs.docker.com/engine/reference/builder/

Volume

https://docs.docker.com/engine/reference/builder/

User

https://docs.docker.com/engine/reference/builder/

Workdir

https://docs.docker.com/engine/reference/builder/

Arg

https://docs.docker.com/engine/reference/builder/

Onbuild

https://docs.docker.com/engine/reference/builder/

Stopsignal

https://docs.docker.com/engine/reference/builder/

Healthcheck

https://docs.docker.com/engine/reference/builder/

Shell

https://docs.docker.com/engine/reference/builder/

Implementations

impl Directive[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of Directive.

pub fn from_i32(value: i32) -> Option<Directive>[src]

Converts an i32 to a Directive, or None if value is not a valid variant.

Trait Implementations

impl Clone for Directive[src]

impl Copy for Directive[src]

impl Debug for Directive[src]

impl Default for Directive[src]

impl Eq for Directive[src]

impl From<Directive> for i32[src]

impl Hash for Directive[src]

impl Ord for Directive[src]

impl PartialEq<Directive> for Directive[src]

impl PartialOrd<Directive> for Directive[src]

impl StructuralEq for Directive[src]

impl StructuralPartialEq for Directive[src]

Auto Trait Implementations

impl RefUnwindSafe for Directive

impl Send for Directive

impl Sync for Directive

impl Unpin for Directive

impl UnwindSafe for Directive

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]