pub struct TagData {
pub object: ObjectId,
pub object_type: String,
pub tag: String,
pub tagger: Option<String>,
pub extra_headers: Vec<u8>,
pub message: String,
}Expand description
Parsed representation of an annotated tag object.
Fields§
§object: ObjectIdThe object this tag points to.
object_type: StringThe type of the tagged object (e.g. "commit").
tag: StringThe short tag name (without refs/tags/ prefix).
tagger: Option<String>The tagger identity and timestamp (raw Git format).
extra_headers: Vec<u8>Extra header lines after tagger and before the blank line (raw bytes, LF-terminated).
message: StringThe tag message (everything after the blank line).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TagData
impl RefUnwindSafe for TagData
impl Send for TagData
impl Sync for TagData
impl Unpin for TagData
impl UnsafeUnpin for TagData
impl UnwindSafe for TagData
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