pub struct AssetWire {
pub id: u64,
pub name: String,
pub size: u64,
pub digest: Option<String>,
pub browser_download_url: String,
}Expand description
A release asset as the forge returns it.
Fields§
§id: u64The asset ID.
name: StringThe file name.
size: u64The size in bytes.
digest: Option<String>The digest, where the forge reports one.
browser_download_url: StringWhere the bytes can be fetched.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AssetWire
impl RefUnwindSafe for AssetWire
impl Send for AssetWire
impl Sync for AssetWire
impl Unpin for AssetWire
impl UnsafeUnpin for AssetWire
impl UnwindSafe for AssetWire
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