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

pub struct ResetCmd {
    pub recursive: bool,
    pub object_id: String,
    pub paths: Vec<String>,
}

Reset an object’s staged changes

Additions are removed, deletions are restored, and modifications are returned to their original state. Use this to return an object to its state at the time the staged version was originally created.

Fields

recursive: bool

Logical directories should be reset recursively

object_id: String

ID of the object to reset

paths: Vec<String>

Logical paths of the files to reset. Glob patterns are supported. If no paths are specified, the entire object is reset.

Trait Implementations

impl Debug for ResetCmd[src]

impl From<ResetCmd> for Command[src]

impl StructOpt for ResetCmd[src]

impl StructOptInternal for ResetCmd[src]

impl TryInto<ResetCmd> for Command[src]

type Error = &'static str

The type returned in the event of a conversion error.

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,