pub struct Release {Show 13 fields
    pub index: usize,
    pub tag_name: String,
    pub target_commitish: Option<String>,
    pub name: String,
    pub body: String,
    pub draft: bool,
    pub prerelease: bool,
    pub publisher_id: usize,
    pub publisher_name: String,
    pub publisher_email: Option<String>,
    pub assets: Option<Vec<ReleaseAsset>>,
    pub created: String,
    pub published: String,
}Expand description
Assets that constitute a release for a given tag.
Fields§
§index: usizeUnique identifier
tag_name: StringGit tag name of the release.
target_commitish: Option<String>Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists.
name: StringThe name of the release
body: StringText describing the contents of the release.
draft: boolTrue if the release is a draft.
prerelease: boolTrue if the release is a pre-release.
publisher_id: usizeUnique identifier of the user who authored the release.
publisher_name: StringName of the user who authored the release.
publisher_email: Option<String>Email of the user who authored the release.
assets: Option<Vec<ReleaseAsset>>List of assets associated with the release.
created: StringCreation time
published: StringPublication time.
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 PartialEq<Release> for Release
 
impl PartialEq<Release> for Release
impl Eq for Release
impl StructuralEq for Release
impl StructuralPartialEq for Release
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§
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