Struct git_topic_stage::CandidateTopic
source · pub struct CandidateTopic {
pub old_id: Option<Topic>,
pub new_id: Topic,
}
Expand description
A topic branch which should be integrated into the stage.
Fields§
§old_id: Option<Topic>
The old revision for the topic (if available).
new_id: Topic
The new revision for the topic.
Trait Implementations§
source§impl Clone for CandidateTopic
impl Clone for CandidateTopic
source§fn clone(&self) -> CandidateTopic
fn clone(&self) -> CandidateTopic
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 CandidateTopic
impl Debug for CandidateTopic
source§impl Display for CandidateTopic
impl Display for CandidateTopic
source§impl PartialEq<CandidateTopic> for CandidateTopic
impl PartialEq<CandidateTopic> for CandidateTopic
source§fn eq(&self, other: &CandidateTopic) -> bool
fn eq(&self, other: &CandidateTopic) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CandidateTopic
Auto Trait Implementations§
impl RefUnwindSafe for CandidateTopic
impl Send for CandidateTopic
impl Sync for CandidateTopic
impl Unpin for CandidateTopic
impl UnwindSafe for CandidateTopic
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