[][src]Struct buildkit_proto::pb::Definition

pub struct Definition {
    pub def: Vec<Vec<u8>>,
    pub metadata: HashMap<String, OpMetadata>,
}

Definition is the LLB definition structure with per-vertex metadata entries

Fields

def: Vec<Vec<u8>>

def is a list of marshaled Op messages

metadata: HashMap<String, OpMetadata>

metadata contains metadata for the each of the Op messages. A key must be an LLB op digest string. Currently, empty string is not expected as a key, but it may change in the future.

Trait Implementations

impl Default for Definition[src]

impl Clone for Definition[src]

impl PartialEq<Definition> for Definition[src]

impl Debug for Definition[src]

impl Message for Definition[src]

Auto Trait Implementations

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]