pub struct Asset {Show 13 fields
pub url: Url,
pub browser_download_url: Url,
pub id: AssetId,
pub node_id: String,
pub name: String,
pub label: Option<String>,
pub state: String,
pub content_type: String,
pub size: i64,
pub download_count: i64,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub uploader: Option<Uploader>,
}
Fields§
§url: Url
§browser_download_url: Url
§id: AssetId
§node_id: String
§name: String
§label: Option<String>
§state: String
§content_type: String
§size: i64
§download_count: i64
§created_at: DateTime<Utc>
§updated_at: DateTime<Utc>
§uploader: Option<Uploader>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Asset
impl<'de> Deserialize<'de> for Asset
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 Asset
impl PartialEq for Asset
impl StructuralPartialEq for Asset
Auto Trait Implementations§
impl Freeze for Asset
impl RefUnwindSafe for Asset
impl Send for Asset
impl Sync for Asset
impl Unpin for Asset
impl UnwindSafe for Asset
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