[][src]Struct rocfl::cmd::opts::List

pub struct List {
    pub long: bool,
    pub physical: bool,
    pub digest: bool,
    pub header: bool,
    pub tsv: bool,
    pub version: Option<VersionNum>,
    pub sort: Field,
    pub reverse: bool,
    pub objects: bool,
    pub glob_literal_separator: bool,
    pub object_id: Option<String>,
    pub path: Option<String>,
}

Lists objects or files within objects.

Fields

long: bool

Enables long output format: Version, Updated, Name (Object ID or Logical Path)

physical: bool

Displays the physical path to the item

digest: bool

Displays the digest of the item

header: bool

Displays a header row

tsv: bool

Tab separate the output

version: Option<VersionNum>

Specifies the version of the object to list

sort: Field

Specifies the field to sort on.

reverse: bool

Reverses the direction of the sort

objects: bool

Lists only objects; not their contents

glob_literal_separator: bool

Wildcards in path glob expressions will not match '/'

object_id: Option<String>

ID of the object to list. May be a glob when used with '-o'.

path: Option<String>

Path glob of files to list. May only be specified if an object is also specified.

Trait Implementations

impl Debug for List[src]

impl StructOpt for List[src]

impl StructOptInternal for List[src]

Auto Trait Implementations

impl RefUnwindSafe for List

impl Send for List

impl Sync for List

impl Unpin for List

impl UnwindSafe for List

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> Same<T> for T

type Output = T

Should always be Self

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.