pub struct Release {Show 23 fields
pub assets: Vec<ReleaseAsset>,
pub assets_url: String,
pub author: Option<SimpleUser>,
pub body: String,
pub body_html: String,
pub body_text: String,
pub created_at: Option<DateTime<Utc>>,
pub discussion_url: String,
pub draft: bool,
pub html_url: String,
pub id: i64,
pub mentions_count: i64,
pub name: String,
pub node_id: String,
pub prerelease: bool,
pub published_at: Option<DateTime<Utc>>,
pub reactions: Option<ReactionRollup>,
pub tag_name: String,
pub tarball_url: String,
pub target_commitish: String,
pub upload_url: String,
pub url: String,
pub zipball_url: String,
}
Expand description
A release.
Fields§
§assets: Vec<ReleaseAsset>
§assets_url: String
Simple User
body: String
§body_html: String
§body_text: String
§created_at: Option<DateTime<Utc>>
§discussion_url: String
§draft: bool
§html_url: String
§id: i64
§mentions_count: i64
A release.
name: String
§node_id: String
§prerelease: bool
§published_at: Option<DateTime<Utc>>
§reactions: Option<ReactionRollup>
A release.
tag_name: String
§tarball_url: String
§target_commitish: String
§upload_url: String
§url: String
§zipball_url: String
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 JsonSchema for Release
impl JsonSchema for Release
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<Release> for Release
impl PartialEq<Release> 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