Struct git_topic_stage::StagedTopic
source · pub struct StagedTopic {
pub merge: CommitId,
pub topic: Topic,
}
Expand description
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.
Implementations§
Trait Implementations§
source§impl Clone for StagedTopic
impl Clone for StagedTopic
source§fn clone(&self) -> StagedTopic
fn clone(&self) -> StagedTopic
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StagedTopic
impl Debug for StagedTopic
source§impl Display for StagedTopic
impl Display for StagedTopic
source§impl PartialEq<StagedTopic> for StagedTopic
impl PartialEq<StagedTopic> for StagedTopic
source§fn eq(&self, other: &StagedTopic) -> bool
fn eq(&self, other: &StagedTopic) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StagedTopic
Auto Trait Implementations§
impl RefUnwindSafe for StagedTopic
impl Send for StagedTopic
impl Sync for StagedTopic
impl Unpin for StagedTopic
impl UnwindSafe for StagedTopic
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more