pub struct Tag {
pub id: String,
pub date: OffsetDateTime,
pub name: String,
pub name_full: String,
pub message: Option<String>,
pub commit_id: String,
}
Expand description
A git tag
Fields§
§id: String
ID (hash)
date: OffsetDateTime
Date
name: String
Name (short)
name_full: String
Full name
message: Option<String>
Tag message - None if lightweight tag
commit_id: String
Commit ID (hash)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
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