Struct gapi_grpc::google::devtools::remoteworkers::v1test2::FileMetadata[][src]

pub struct FileMetadata {
    pub path: String,
    pub digest: Option<Digest>,
    pub contents: Vec<u8>,
    pub is_executable: bool,
}

The metadata for a file. Similar to the equivalent message in the Remote Execution API.

Fields

path: String

The path of this file. If this message is part of the CommandOutputs.outputs fields, the path is relative to the execution root and must correspond to an entry in CommandTask.outputs.files. If this message is part of a Directory message, then the path is relative to the root of that directory. All paths MUST be delimited by forward slashes.

digest: Option<Digest>

A pointer to the contents of the file. The method by which a client retrieves the contents from a CAS system is not defined here.

contents: Vec<u8>

If the file is small enough, its contents may also or alternatively be listed here.

is_executable: bool

Properties of the file

Trait Implementations

impl Clone for FileMetadata[src]

impl Debug for FileMetadata[src]

impl Default for FileMetadata[src]

impl Message for FileMetadata[src]

impl PartialEq<FileMetadata> for FileMetadata[src]

impl StructuralPartialEq for FileMetadata[src]

Auto Trait Implementations

impl RefUnwindSafe for FileMetadata

impl Send for FileMetadata

impl Sync for FileMetadata

impl Unpin for FileMetadata

impl UnwindSafe for FileMetadata

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