pub struct WasmRef {
pub path: String,
pub sha256_hex: String,
pub size_bytes: u64,
}Expand description
A content-addressed reference to the qapp’s compiled wasm bundle. This module references the
bundle; it does not produce it. sha256_hex binds the manifest to an exact artifact so a
later delivery layer can verify integrity.
Fields§
§path: StringPath (relative to the served PWA scope) at which the wasm bundle is fetched, e.g.
"./qapp.wasm".
sha256_hex: StringLower-case hex SHA-256 of the wasm bytes. Empty until a bundle is attached.
size_bytes: u64Size of the wasm bundle in bytes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WasmRef
impl<'de> Deserialize<'de> for WasmRef
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
impl Eq for WasmRef
impl StructuralPartialEq for WasmRef
Auto Trait Implementations§
impl Freeze for WasmRef
impl RefUnwindSafe for WasmRef
impl Send for WasmRef
impl Sync for WasmRef
impl Unpin for WasmRef
impl UnsafeUnpin for WasmRef
impl UnwindSafe for WasmRef
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