Struct github_webhook::payload_types::ReleaseAsset
source · pub struct ReleaseAsset<'a> {
pub url: &'a str,
pub browser_download_url: &'a str,
pub id: usize,
pub node_id: &'a str,
pub name: &'a str,
pub label: Option<&'a str>,
pub content_type: &'a str,
pub size: usize,
pub download_count: usize,
pub created_at: &'a str,
pub updated_at: &'a str,
pub uploader: Option<User<'a>>,
}
Expand description
Data related to a release.
Fields§
§url: &'a str
§browser_download_url: &'a str
§id: usize
§node_id: &'a str
§name: &'a str
The file name of the asset.
label: Option<&'a str>
§content_type: &'a str
§size: usize
§download_count: usize
§created_at: &'a str
§updated_at: &'a str
§uploader: Option<User<'a>>
Trait Implementations§
source§impl<'a> Debug for ReleaseAsset<'a>
impl<'a> Debug for ReleaseAsset<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for ReleaseAsset<'a>
impl<'de: 'a, 'a> Deserialize<'de> for ReleaseAsset<'a>
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
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ReleaseAsset<'a>
impl<'a> Send for ReleaseAsset<'a>
impl<'a> Sync for ReleaseAsset<'a>
impl<'a> Unpin for ReleaseAsset<'a>
impl<'a> UnwindSafe for ReleaseAsset<'a>
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