pub struct ReleaseUnpublishedRelease {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: (),
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
ReleaseUnpublishedRelease
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": "null",
"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: ()
§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 ReleaseUnpublishedRelease
impl ReleaseUnpublishedRelease
pub fn builder() -> ReleaseUnpublishedRelease
Trait Implementations§
Source§impl Clone for ReleaseUnpublishedRelease
impl Clone for ReleaseUnpublishedRelease
Source§fn clone(&self) -> ReleaseUnpublishedRelease
fn clone(&self) -> ReleaseUnpublishedRelease
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 ReleaseUnpublishedRelease
impl Debug for ReleaseUnpublishedRelease
Source§impl<'de> Deserialize<'de> for ReleaseUnpublishedRelease
impl<'de> Deserialize<'de> for ReleaseUnpublishedRelease
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<&ReleaseUnpublishedRelease> for ReleaseUnpublishedRelease
impl From<&ReleaseUnpublishedRelease> for ReleaseUnpublishedRelease
Source§fn from(value: &ReleaseUnpublishedRelease) -> Self
fn from(value: &ReleaseUnpublishedRelease) -> Self
Converts to this type from the input type.
Source§impl From<ReleaseUnpublishedRelease> for ReleaseUnpublishedRelease
impl From<ReleaseUnpublishedRelease> for ReleaseUnpublishedRelease
Source§fn from(value: ReleaseUnpublishedRelease) -> Self
fn from(value: ReleaseUnpublishedRelease) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReleaseUnpublishedRelease
impl RefUnwindSafe for ReleaseUnpublishedRelease
impl Send for ReleaseUnpublishedRelease
impl Sync for ReleaseUnpublishedRelease
impl Unpin for ReleaseUnpublishedRelease
impl UnwindSafe for ReleaseUnpublishedRelease
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