pub struct GithubRelease {
pub tag_name: String,
pub prerelease: bool,
pub draft: bool,
pub assets: Vec<GithubReleaseAsset>,
}Expand description
Subset of the GitHub Releases API we care about.
Fields§
§tag_name: String§prerelease: bool§draft: bool§assets: Vec<GithubReleaseAsset>Trait Implementations§
Source§impl Clone for GithubRelease
impl Clone for GithubRelease
Source§fn clone(&self) -> GithubRelease
fn clone(&self) -> GithubRelease
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 GithubRelease
impl Debug for GithubRelease
Source§impl<'de> Deserialize<'de> for GithubRelease
impl<'de> Deserialize<'de> for GithubRelease
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 GithubRelease
impl RefUnwindSafe for GithubRelease
impl Send for GithubRelease
impl Sync for GithubRelease
impl Unpin for GithubRelease
impl UnsafeUnpin for GithubRelease
impl UnwindSafe for GithubRelease
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