pub struct Release {
pub tag: String,
pub name: Option<String>,
pub prerelease: bool,
pub created_at: String,
pub published_at: Option<String>,
pub body: Option<String>,
pub html_url: String,
pub assets: Vec<ReleaseAsset>,
}Expand description
A GitHub release as returned by the /releases/latest endpoint.
Example: https://api.github.com/repos/Chaoses-Ib/IbEverythingExt/releases/latest
Fields§
§tag: StringThe release tag name (e.g. "v1.2.3").
name: Option<String>The human-readable release name (may differ from the tag).
prerelease: boolWhether this is marked as a pre-release on GitHub.
created_at: StringISO 8601 timestamp of when the release was created.
published_at: Option<String>ISO 8601 timestamp of the publish.
body: Option<String>Markdown release notes / changelog.
html_url: StringURL to the release page on GitHub.
assets: Vec<ReleaseAsset>Uploaded binaries / archives.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Release
impl<'de> Deserialize<'de> for Release
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 Release
impl RefUnwindSafe for Release
impl Send for Release
impl Sync for Release
impl Unpin for Release
impl UnsafeUnpin for Release
impl UnwindSafe for Release
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