pub struct WebhooksRelease1 {Show 20 fields
pub assets: Vec<ReleaseAsset1>,
pub assets_url: String,
pub author: Option<Box<User>>,
pub body: Option<String>,
pub created_at: Option<String>,
pub discussion_url: Option<String>,
pub draft: bool,
pub html_url: String,
pub id: i32,
pub name: Option<String>,
pub node_id: String,
pub prerelease: bool,
pub published_at: Option<String>,
pub reactions: Option<Box<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
WebhooksRelease1 : The release object.
Fields§
§assets: Vec<ReleaseAsset1>
§assets_url: String
§body: Option<String>
§created_at: Option<String>
§discussion_url: Option<String>
§draft: bool
Whether the release is a draft or published
html_url: String
§id: i32
§name: Option<String>
§node_id: String
§prerelease: bool
Whether the release is identified as a prerelease or a full release.
published_at: Option<String>
§reactions: Option<Box<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 WebhooksRelease1
impl WebhooksRelease1
Sourcepub fn new(
assets: Vec<ReleaseAsset1>,
assets_url: String,
author: Option<User>,
body: Option<String>,
created_at: Option<String>,
draft: bool,
html_url: String,
id: i32,
name: Option<String>,
node_id: String,
prerelease: bool,
published_at: Option<String>,
tag_name: String,
tarball_url: Option<String>,
target_commitish: String,
upload_url: String,
url: String,
zipball_url: Option<String>,
) -> WebhooksRelease1
pub fn new( assets: Vec<ReleaseAsset1>, assets_url: String, author: Option<User>, body: Option<String>, created_at: Option<String>, draft: bool, html_url: String, id: i32, name: Option<String>, node_id: String, prerelease: bool, published_at: Option<String>, tag_name: String, tarball_url: Option<String>, target_commitish: String, upload_url: String, url: String, zipball_url: Option<String>, ) -> WebhooksRelease1
The release object.
Trait Implementations§
Source§impl Clone for WebhooksRelease1
impl Clone for WebhooksRelease1
Source§fn clone(&self) -> WebhooksRelease1
fn clone(&self) -> WebhooksRelease1
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 WebhooksRelease1
impl Debug for WebhooksRelease1
Source§impl Default for WebhooksRelease1
impl Default for WebhooksRelease1
Source§fn default() -> WebhooksRelease1
fn default() -> WebhooksRelease1
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhooksRelease1
impl<'de> Deserialize<'de> for WebhooksRelease1
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 PartialEq for WebhooksRelease1
impl PartialEq for WebhooksRelease1
Source§impl Serialize for WebhooksRelease1
impl Serialize for WebhooksRelease1
impl StructuralPartialEq for WebhooksRelease1
Auto Trait Implementations§
impl Freeze for WebhooksRelease1
impl RefUnwindSafe for WebhooksRelease1
impl Send for WebhooksRelease1
impl Sync for WebhooksRelease1
impl Unpin for WebhooksRelease1
impl UnwindSafe for WebhooksRelease1
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