pub struct ReleasePublishedRelease {Show 21 fields
pub assets: Vec<ReleaseAsset>,
pub assets_url: String,
pub author: User,
pub body: String,
pub created_at: Option<DateTime<Utc>>,
pub discussion_url: Option<String>,
pub draft: bool,
pub html_url: String,
pub id: i64,
pub mentions_count: Option<i64>,
pub name: String,
pub node_id: String,
pub prerelease: bool,
pub published_at: DateTime<Utc>,
pub reactions: Option<Reactions>,
pub tag_name: String,
pub tarball_url: Option<String>,
pub target_commitish: String,
pub upload_url: String,
pub url: String,
pub zipball_url: Option<String>,
}
Expand description
ReleasePublishedRelease
JSON schema
{
"type": "object",
"required": [
"assets",
"assets_url",
"author",
"body",
"created_at",
"draft",
"html_url",
"id",
"name",
"node_id",
"prerelease",
"published_at",
"tag_name",
"tarball_url",
"target_commitish",
"upload_url",
"url",
"zipball_url"
],
"properties": {
"assets": {
"type": "array",
"items": {
"$ref": "#/definitions/release-asset"
}
},
"assets_url": {
"type": "string",
"format": "uri"
},
"author": {
"$ref": "#/definitions/user"
},
"body": {
"type": "string"
},
"created_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"discussion_url": {
"type": "string",
"format": "uri"
},
"draft": {
"description": "Wether the release is a draft or published",
"type": "boolean"
},
"html_url": {
"type": "string",
"format": "uri"
},
"id": {
"type": "integer"
},
"mentions_count": {
"type": "integer"
},
"name": {
"type": "string"
},
"node_id": {
"type": "string"
},
"prerelease": {
"description": "Whether the release is identified as a prerelease or a full release.",
"type": "boolean"
},
"published_at": {
"type": "string",
"format": "date-time"
},
"reactions": {
"$ref": "#/definitions/reactions"
},
"tag_name": {
"description": "The name of the tag.",
"type": "string"
},
"tarball_url": {
"type": [
"string",
"null"
],
"format": "uri"
},
"target_commitish": {
"description": "Specifies the commitish value that determines where the Git tag is created from.",
"type": "string"
},
"upload_url": {
"type": "string",
"format": "uri-template"
},
"url": {
"type": "string",
"format": "uri"
},
"zipball_url": {
"type": [
"string",
"null"
],
"format": "uri"
}
},
"additionalProperties": false
}
Fields§
§assets: Vec<ReleaseAsset>
§assets_url: String
§body: String
§created_at: Option<DateTime<Utc>>
§discussion_url: Option<String>
§draft: bool
Wether the release is a draft or published
html_url: String
§id: i64
§mentions_count: Option<i64>
§name: String
§node_id: String
§prerelease: bool
Whether the release is identified as a prerelease or a full release.
published_at: DateTime<Utc>
§reactions: Option<Reactions>
§tag_name: String
The name of the tag.
tarball_url: Option<String>
§target_commitish: String
Specifies the commitish value that determines where the Git tag is created from.
upload_url: String
§url: String
§zipball_url: Option<String>
Implementations§
Source§impl ReleasePublishedRelease
impl ReleasePublishedRelease
pub fn builder() -> ReleasePublishedRelease
Trait Implementations§
Source§impl Clone for ReleasePublishedRelease
impl Clone for ReleasePublishedRelease
Source§fn clone(&self) -> ReleasePublishedRelease
fn clone(&self) -> ReleasePublishedRelease
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ReleasePublishedRelease
impl Debug for ReleasePublishedRelease
Source§impl<'de> Deserialize<'de> for ReleasePublishedRelease
impl<'de> Deserialize<'de> for ReleasePublishedRelease
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 From<&ReleasePublishedRelease> for ReleasePublishedRelease
impl From<&ReleasePublishedRelease> for ReleasePublishedRelease
Source§fn from(value: &ReleasePublishedRelease) -> Self
fn from(value: &ReleasePublishedRelease) -> Self
Converts to this type from the input type.
Source§impl From<ReleasePublishedRelease> for ReleasePublishedRelease
impl From<ReleasePublishedRelease> for ReleasePublishedRelease
Source§fn from(value: ReleasePublishedRelease) -> Self
fn from(value: ReleasePublishedRelease) -> Self
Converts to this type from the input type.
Source§impl Serialize for ReleasePublishedRelease
impl Serialize for ReleasePublishedRelease
Auto Trait Implementations§
impl Freeze for ReleasePublishedRelease
impl RefUnwindSafe for ReleasePublishedRelease
impl Send for ReleasePublishedRelease
impl Sync for ReleasePublishedRelease
impl Unpin for ReleasePublishedRelease
impl UnwindSafe for ReleasePublishedRelease
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