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.
A separate type is used so that topic branches cannot be mixed up with other commits.
Fields
commit: CommitId
The HEAD commit of the topic branch.
The author of the stage request.
stamp: DateTime<UTC>
The timestamp for the request to be staged.
id: u64
An ID for the topic.
name: String
The name of the topic.
url: String
The name of the topic.
Methods
impl Topic
[src]
fn new<N, U>(commit: CommitId,
author: Identity,
stamp: DateTime<UTC>,
id: u64,
name: N,
url: U)
-> Self where N: ToString, U: ToString
author: Identity,
stamp: DateTime<UTC>,
id: u64,
name: N,
url: U)
-> Self where N: ToString, U: ToString
The HEAD commit of the topic branch.
Trait Implementations
impl Debug for Topic
[src]
impl Clone for Topic
[src]
fn clone(&self) -> Topic
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