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: usize
Unique identifier
tag_name: String
Git 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: String
The name of the release
body: String
Text describing the contents of the release.
draft: bool
True if the release is a draft.
prerelease: bool
True if the release is a pre-release.
publisher_id: usize
Unique identifier of the user who authored the release.
publisher_name: String
Name 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: String
Creation time
published: String
Publication 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