Type Alias github_webhook::payload_types::Asset
source · pub type Asset<'a> = ReleaseAsset<'a>;Aliased Type§
struct Asset<'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>>,
}Fields§
§url: &'a str§browser_download_url: &'a str§id: usize§node_id: &'a str§name: &'a strThe 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>>