Enum git_topic_stage::OldTopicRemoval
[−]
[src]
pub enum OldTopicRemoval {
Obsoleted {
old_merge: StagedTopic,
replacement: Option<StagedTopic>,
},
Removed(StagedTopic),
}Reasons an old topic was removed from the stage.
Variants
ObsoletedThe 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]
fn topic(&self) -> &Topic
The topic branch which was removed.
fn branch(&self) -> &Topic
Deprecated since 1.1.0
: renamed to topic()
The topic branch which was removed.