pub struct Tag {
pub name: String,
pub created_at: String,
}Expand description
A tag as returned by /projects/:id/repository/tags. The
fields kept here are the ones relevant to an activity-window
match: the tag’s created_at (when the ref was pushed,
distinct from the commit date) and the tag name.
Fields§
§name: String§created_at: StringTag-ref creation timestamp on GitLab (ISO 8601). This is when the tag was pushed, not when the underlying commit was authored — so a tag created locally weeks ago and pushed today appears here with today’s date.
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
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