[][src]Struct pachyderm::pfs::FileInfo

pub struct FileInfo {
    pub file: Option<File>,
    pub file_type: i32,
    pub size_bytes: u64,
    pub committed: Option<Timestamp>,
    pub children: Vec<String>,
    pub objects: Vec<Object>,
    pub block_refs: Vec<BlockRef>,
    pub hash: Vec<u8>,
}

Fields

file: Option<File>file_type: i32size_bytes: u64committed: Option<Timestamp>children: Vec<String>

the base names (i.e. just the filenames, not the full paths) of the children

objects: Vec<Object>block_refs: Vec<BlockRef>hash: Vec<u8>

Implementations

impl FileInfo[src]

pub fn file_type(&self) -> FileType[src]

Returns the enum value of file_type, or the default if the field is set to an invalid enum value.

pub fn set_file_type(&mut self, value: FileType)[src]

Sets file_type to the provided enum value.

Trait Implementations

impl Clone for FileInfo[src]

impl Debug for FileInfo[src]

impl Default for FileInfo[src]

impl Message for FileInfo[src]

impl PartialEq<FileInfo> for FileInfo[src]

impl StructuralPartialEq for FileInfo[src]

Auto Trait Implementations

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

impl<T> WithSubscriber for T[src]