pub struct AnnotatedTag {
pub tag: String,
pub tagger: Tagger,
}Expand description
An annotated-tag object from
/repos/{owner}/{repo}/git/tags/{sha}. Only annotated tags
carry tagger metadata; lightweight tags don’t have an
addressable tag object.
Fields§
§tag: String§tagger: TaggerTrait Implementations§
Source§impl Clone for AnnotatedTag
impl Clone for AnnotatedTag
Source§fn clone(&self) -> AnnotatedTag
fn clone(&self) -> AnnotatedTag
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnnotatedTag
impl Debug for AnnotatedTag
Source§impl<'de> Deserialize<'de> for AnnotatedTag
impl<'de> Deserialize<'de> for AnnotatedTag
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 AnnotatedTag
impl RefUnwindSafe for AnnotatedTag
impl Send for AnnotatedTag
impl Sync for AnnotatedTag
impl Unpin for AnnotatedTag
impl UnsafeUnpin for AnnotatedTag
impl UnwindSafe for AnnotatedTag
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