pub struct TagInfo {
pub name: String,
pub target_id: String,
pub is_annotated: bool,
pub tagger: Option<String>,
pub message: Option<String>,
}Expand description
Information about a git tag.
Fields§
§name: StringTag name (e.g., “v1.0.0”).
target_id: StringSHA hash of the object this tag points to (usually a commit).
is_annotated: boolWhether this is an annotated tag (vs lightweight).
tagger: Option<String>Tagger name and email (for annotated tags).
message: Option<String>Tag message (for annotated tags).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TagInfo
impl<'de> Deserialize<'de> for TagInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TagInfo
impl RefUnwindSafe for TagInfo
impl Send for TagInfo
impl Sync for TagInfo
impl Unpin for TagInfo
impl UnwindSafe for TagInfo
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