Struct git_topic_stage::Topic [] [src]

pub struct Topic {
    pub commit: CommitId,
    pub author: Identity,
    pub stamp: DateTime<Utc>,
    pub id: u64,
    pub name: String,
    pub url: String,
}

A branch for the stager.

Topics contain additional information so that they may be easily identified and so that the commit messages are useful to humans as well.

Fields

The HEAD commit of the topic branch.

The author of the stage request.

When the stage request occurred.

An ID for the topic.

The name of the topic.

The URL of the topic.

Methods

impl Topic
[src]

Create a topic.

The ID must be unique across all topics.

Trait Implementations

impl Debug for Topic
[src]

Formats the value using the given formatter.

impl Clone for Topic
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Topic
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Topic
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.