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 for Tag
impl PartialOrd for Tag
source§impl WriteTo for Tag
impl WriteTo for Tag
impl Eq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)