pub struct Tag {
pub name: String,
pub kind: TagKind,
pub target: String,
pub message: Option<String>,
pub tagger: Option<Tagger>,
}Available on crate feature
workflow only.Expand description
One tag.
Fields§
§name: StringShort tag name (e.g. "v1.2.3").
kind: TagKindWhether the tag is a plain ref (lightweight) or carries its own object (annotated).
target: StringShort SHA of the commit the tag ultimately points at.
message: Option<String>Subject line of the tag message — None for lightweight tags.
tagger: Option<Tagger>Tagger metadata — None for lightweight tags.
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
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 UnsafeUnpin 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