Struct git_topic_stage::Topic
source · pub struct Topic {
pub commit: CommitId,
pub author: Identity,
pub stamp: DateTime<Utc>,
pub id: u64,
pub name: String,
pub url: String,
}
Expand description
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§
§commit: CommitId
The HEAD
commit of the topic branch.
The author of the stage request.
stamp: DateTime<Utc>
When the stage request occurred.
id: u64
An ID for the topic.
name: String
The name of the topic.
url: String
The URL of the topic.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Topic
impl Send for Topic
impl Sync for Topic
impl Unpin for Topic
impl UnwindSafe for Topic
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