pub struct Release {Show 14 fields
pub id: u64,
pub node_id: String,
pub tag_name: String,
pub target_commitish: String,
pub name: Option<String>,
pub body: Option<String>,
pub draft: bool,
pub prerelease: bool,
pub author: IssueUser,
pub created_at: DateTime<Utc>,
pub published_at: Option<DateTime<Utc>>,
pub url: String,
pub html_url: String,
pub assets: Vec<ReleaseAsset>,
}Expand description
GitHub release.
Fields§
§id: u64Unique release identifier
node_id: StringNode ID for GraphQL API
tag_name: StringRelease tag name
target_commitish: StringTarget commitish (branch or commit SHA)
name: Option<String>Release name
body: Option<String>Release body (Markdown)
draft: boolWhether this is a draft release
prerelease: boolWhether this is a prerelease
User who created the release
created_at: DateTime<Utc>Creation timestamp
published_at: Option<DateTime<Utc>>Publication timestamp
url: StringRelease URL
html_url: StringRelease HTML URL
assets: Vec<ReleaseAsset>Release assets
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
Auto Trait Implementations§
impl Freeze for Release
impl RefUnwindSafe for Release
impl Send for Release
impl Sync for Release
impl Unpin for Release
impl UnsafeUnpin 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