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: CommitIdThe HEAD commit of the topic branch.
The author of the stage request.
stamp: DateTime<Utc>When the stage request occurred.
id: u64An ID for the topic.
name: StringThe name of the topic.
url: StringThe URL of the topic.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Topic
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