pub struct ReleaseAsset {
pub id: u64,
pub node_id: String,
pub name: String,
pub label: Option<String>,
pub content_type: String,
pub state: String,
pub size: u64,
pub download_count: u64,
pub uploader: IssueUser,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub browser_download_url: String,
}Expand description
Asset attached to a release.
Fields§
§id: u64Unique asset identifier
node_id: StringNode ID for GraphQL API
name: StringAsset filename
label: Option<String>Asset label
content_type: StringAsset content type
state: StringAsset state
size: u64Asset size in bytes
download_count: u64Download count
uploader: IssueUserUser who uploaded the asset
created_at: DateTime<Utc>Creation timestamp
updated_at: DateTime<Utc>Last update timestamp
browser_download_url: StringAsset download URL
Trait Implementations§
Source§impl Clone for ReleaseAsset
impl Clone for ReleaseAsset
Source§fn clone(&self) -> ReleaseAsset
fn clone(&self) -> ReleaseAsset
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 ReleaseAsset
impl Debug for ReleaseAsset
Source§impl<'de> Deserialize<'de> for ReleaseAsset
impl<'de> Deserialize<'de> for ReleaseAsset
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 Freeze for ReleaseAsset
impl RefUnwindSafe for ReleaseAsset
impl Send for ReleaseAsset
impl Sync for ReleaseAsset
impl Unpin for ReleaseAsset
impl UnsafeUnpin for ReleaseAsset
impl UnwindSafe for ReleaseAsset
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