[][src]Struct buildkit_proto::pb::OpMetadata

pub struct OpMetadata {
    pub ignore_cache: bool,
    pub description: HashMap<String, String>,
    pub export_cache: Option<ExportCache>,
    pub caps: HashMap<String, bool>,
}

OpMetadata is a per-vertex metadata entry, which can be defined for arbitrary Op vertex and overridable on the run time.

Fields

ignore_cache: bool

ignore_cache specifies to ignore the cache for this Op.

description: HashMap<String, String>

Description can be used for keeping any text fields that builder doesn't parse

export_cache: Option<ExportCache>

index 3 reserved for WorkerConstraint in previous versions WorkerConstraint worker_constraint = 3;

caps: HashMap<String, bool>

Trait Implementations

impl Default for OpMetadata[src]

impl Clone for OpMetadata[src]

impl PartialEq<OpMetadata> for OpMetadata[src]

impl Debug for OpMetadata[src]

impl Message for OpMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

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]