[][src]Struct git_topic_stage::StagedTopic

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]

pub fn commit(&self) -> &CommitId[src]

The HEAD commit of the topic branch.

Trait Implementations

impl Clone for StagedTopic[src]

impl PartialEq<StagedTopic> for StagedTopic[src]

impl Display for StagedTopic[src]

impl Debug for StagedTopic[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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]