[][src]Enum git_topic_stage::OldTopicRemoval

pub enum OldTopicRemoval {
    Obsoleted {
        old_merge: StagedTopic,
        replacement: Option<StagedTopic>,
    },
    Removed(StagedTopic),
}

Reasons an old topic was removed from the stage.

Variants

Obsoleted

The topic branch has been obsoleted by an update.

Fields of Obsoleted

old_merge: StagedTopic

The old topic, as staged.

replacement: Option<StagedTopic>

The staged topic branch which has replaced the old topic branch.

Removed(StagedTopic)

The topic branch has been removed, without replacement, from the stage.

Methods

impl OldTopicRemoval[src]

pub fn topic(&self) -> &Topic[src]

The topic branch which was removed.

Trait Implementations

impl Debug for OldTopicRemoval[src]

Auto Trait Implementations

Blanket Implementations

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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]