Struct git_object::TagRef [−][src]
pub struct TagRef<'a> {
pub target: &'a BStr,
pub target_kind: Kind,
pub name: &'a BStr,
pub tagger: Option<SignatureRef<'a>>,
pub message: &'a BStr,
pub pgp_signature: Option<&'a BStr>,
}
Expand description
Represents a git tag, commonly indicating a software release.
Fields
target: &'a BStr
The hash in hexadecimal being the object this tag points to. Use target()
to obtain a byte representation.
target_kind: Kind
The kind of object that target
points to.
name: &'a BStr
The name of the tag, e.g. “v1.0”.
tagger: Option<SignatureRef<'a>>
The author of the tag.
message: &'a BStr
The message describing this release.
pgp_signature: Option<&'a BStr>
A cryptographic signature over the entire content of the serialized tag object thus far.
Implementations
Trait Implementations
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
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for TagRef<'a>
impl<'a> UnwindSafe for TagRef<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more