pub struct Release {Show 17 fields
pub url: String,
pub html_url: String,
pub assets_url: String,
pub upload_url: String,
pub tarball_url: String,
pub zipball_url: String,
pub id: u64,
pub tag_name: String,
pub target_commitish: String,
pub name: String,
pub body: String,
pub draft: bool,
pub prerelease: bool,
pub created_at: String,
pub published_at: String,
pub author: User,
pub assets: Vec<Asset>,
}
Fields
url: String
html_url: String
assets_url: String
upload_url: String
tarball_url: String
zipball_url: String
id: u64
tag_name: String
target_commitish: String
name: String
body: String
draft: bool
prerelease: bool
created_at: String
published_at: String
assets: Vec<Asset>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Release
impl<'de> Deserialize<'de> for Release
sourcefn 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 RefUnwindSafe for Release
impl Send for Release
impl Sync for Release
impl Unpin for Release
impl UnwindSafe for Release
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more