pub struct Tag {
pub name: String,
pub hash: Hash,
pub tag_type: TagType,
pub message: Option<String>,
pub tagger: Option<Author>,
pub timestamp: Option<DateTime<Utc>>,
}
Expand description
Represents a Git tag
Fields§
§name: String
The name of the tag
hash: Hash
The commit hash this tag points to
tag_type: TagType
The type of tag (lightweight or annotated)
message: Option<String>
The tag message (only for annotated tags)
tagger: Option<Author>
The tagger information (only for annotated tags)
timestamp: Option<DateTime<Utc>>
The tag creation timestamp (only for annotated tags)
Trait Implementations§
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
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