Struct git_object::Tag
source · pub struct Tag {
pub target: ObjectId,
pub target_kind: Kind,
pub name: BString,
pub tagger: Option<Signature>,
pub message: BString,
pub pgp_signature: Option<BString>,
}
Expand description
A mutable git tag.
Fields§
§target: ObjectId
The hash this tag is pointing to.
target_kind: Kind
The kind of object this tag is pointing to.
name: BString
The name of the tag, e.g. “v1.0”.
tagger: Option<Signature>
The tags author.
message: BString
The message describing the tag.
pgp_signature: Option<BString>
A pgp signature over all bytes of the encoded tag, excluding the pgp signature itself.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Tag
impl<'de> Deserialize<'de> for Tag
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
source§impl Ord for Tag
impl Ord for Tag
source§impl PartialOrd<Tag> for Tag
impl PartialOrd<Tag> for Tag
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more