pub struct Release {Show 18 fields
pub archive_download_count: Option<TagArchiveDownloadCount>,
pub assets: Option<Vec<Attachment>>,
pub author: Option<User>,
pub body: Option<String>,
pub created_at: Option<OffsetDateTime>,
pub draft: Option<bool>,
pub hide_archive_links: Option<bool>,
pub html_url: Option<Url>,
pub id: Option<i64>,
pub name: Option<String>,
pub prerelease: Option<bool>,
pub published_at: Option<OffsetDateTime>,
pub tag_name: Option<String>,
pub tarball_url: Option<Url>,
pub target_commitish: Option<String>,
pub upload_url: Option<Url>,
pub url: Option<Url>,
pub zipball_url: Option<Url>,
}Expand description
Release represents a repository release
Fields§
§archive_download_count: Option<TagArchiveDownloadCount>§assets: Option<Vec<Attachment>>§body: Option<String>§created_at: Option<OffsetDateTime>§draft: Option<bool>§hide_archive_links: Option<bool>§html_url: Option<Url>§id: Option<i64>§name: Option<String>§prerelease: Option<bool>§published_at: Option<OffsetDateTime>§tag_name: Option<String>§tarball_url: Option<Url>§target_commitish: Option<String>§upload_url: Option<Url>§url: Option<Url>§zipball_url: Option<Url>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
Source§impl FromResponse for Release
impl FromResponse for Release
fn from_response( response: ApiResponse, has_body: bool, ) -> Result<Self, StructureError>
impl StructuralPartialEq for Release
Auto Trait Implementations§
impl Freeze for Release
impl RefUnwindSafe for Release
impl Send for Release
impl Sync for Release
impl Unpin 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