Struct git_topic_stage::StagedTopic
[−]
[src]
pub struct StagedTopic { pub merge: CommitId, pub topic: Topic, }
A topic branch which has been staged.
Fields
merge: CommitId
The commit where the topic branch has been merged into the staging branch.
topic: Topic
The topic branch.
Methods
impl StagedTopic
[src]
fn topic(&self) -> &Topic
Deprecated since 1.1.0
: access the member directly instead
The topic branch which was merged.
fn commit(&self) -> &CommitId
The HEAD commit of the topic branch.
Trait Implementations
impl Debug for StagedTopic
[src]
impl Clone for StagedTopic
[src]
fn clone(&self) -> StagedTopic
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for StagedTopic
[src]
fn eq(&self, __arg_0: &StagedTopic) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StagedTopic) -> bool
This method tests for !=
.