#[non_exhaustive]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 (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.tag: String§tagger: TaggerTrait Implementations§
Source§impl Clone for AnnotatedTag
impl Clone for AnnotatedTag
Source§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