pub struct GithubTag {
pub name: String,
pub commit: GithubTagCommit,
}Expand description
GitHub tags API response item.
Fields§
§name: String§commit: GithubTagCommitThe tagged commit. Defaults when the field is absent so fixtures that omit it (or
omit commit.sha within it) still deserialize — callers that need the SHA (e.g.
deps-github-actions, for SHA-pin resolution) validate it themselves.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GithubTag
impl<'de> Deserialize<'de> for GithubTag
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 GithubTag
impl RefUnwindSafe for GithubTag
impl Send for GithubTag
impl Sync for GithubTag
impl Unpin for GithubTag
impl UnsafeUnpin for GithubTag
impl UnwindSafe for GithubTag
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