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