pub struct Asset {
pub url: String,
pub browser_download_url: String,
pub id: u64,
pub name: String,
pub label: Option<String>,
pub state: String,
pub content_type: String,
pub size: u64,
pub download_count: u64,
pub created_at: String,
pub updated_at: String,
pub uploader: User,
}
Fields
url: String
browser_download_url: String
id: u64
name: String
label: Option<String>
state: String
content_type: String
size: u64
download_count: u64
created_at: String
updated_at: String
uploader: User
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Asset
impl<'de> Deserialize<'de> for Asset
sourcefn 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 RefUnwindSafe for Asset
impl Send for Asset
impl Sync for Asset
impl Unpin for Asset
impl UnwindSafe for Asset
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more