pub struct GitTag {
pub object: Sha1Id,
pub target_type: Vec<u8>,
pub name: Vec<u8>,
pub tagger: Option<Person>,
pub message: Vec<u8>,
pub has_signature: bool,
}Expand description
A parsed (arbitrary) git annotated tag.
Fields§
§object: Sha1Id§target_type: Vec<u8>The type header value (commit, tree, blob, tag).
name: Vec<u8>§tagger: Option<Person>None for historic tagger-less tags (git v0.99 era).
message: Vec<u8>§has_signature: booltrue when the message carries a PGP signature block.
Trait Implementations§
impl Eq for GitTag
impl StructuralPartialEq for GitTag
Auto Trait Implementations§
impl Freeze for GitTag
impl RefUnwindSafe for GitTag
impl Send for GitTag
impl Sync for GitTag
impl Unpin for GitTag
impl UnsafeUnpin for GitTag
impl UnwindSafe for GitTag
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