pub struct BundleAsset {
pub path: String,
pub sha256: String,
pub size_bytes: u64,
}Expand description
One asset included in a desktop bundle.
Fields§
§path: StringPath relative to the bundle resource root.
sha256: StringSHA-256 digest encoded as lowercase hexadecimal.
size_bytes: u64Asset size in bytes.
Trait Implementations§
Source§impl Clone for BundleAsset
impl Clone for BundleAsset
Source§impl Debug for BundleAsset
impl Debug for BundleAsset
Source§impl<'de> Deserialize<'de> for BundleAsset
impl<'de> Deserialize<'de> for BundleAsset
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 BundleAsset
impl RefUnwindSafe for BundleAsset
impl Send for BundleAsset
impl Sync for BundleAsset
impl Unpin for BundleAsset
impl UnsafeUnpin for BundleAsset
impl UnwindSafe for BundleAsset
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