pub struct GitTagRef {
pub ref_name: String,
pub object: GitObject,
}Expand description
One entry from /repos/{owner}/{repo}/git/refs/tags. The
underlying object distinguishes lightweight tags (point
directly to a commit) from annotated tags (point to a Tag
object that carries tagger info).
Fields§
§ref_name: StringThe fully-qualified ref, e.g. refs/tags/v0.11.0.
object: GitObjectImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GitTagRef
impl<'de> Deserialize<'de> for GitTagRef
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 GitTagRef
impl RefUnwindSafe for GitTagRef
impl Send for GitTagRef
impl Sync for GitTagRef
impl Unpin for GitTagRef
impl UnsafeUnpin for GitTagRef
impl UnwindSafe for GitTagRef
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