#[non_exhaustive]pub struct WickComponent {
pub module_hash: String,
pub tags: Option<Vec<String>>,
pub interface: ComponentSignature,
pub ver: Option<String>,
}Expand description
The metadata that corresponds to a wick component module.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.module_hash: StringA hash of the module’s bytes as they exist without the embedded signature. This is stored so wascap. can determine if a WebAssembly module’s bytecode has been altered after it was signed.
List of arbitrary string tags associated with the claims.
interface: ComponentSignatureThe schema for the module
ver: Option<String>Indicates a human-friendly version string.
Trait Implementations§
Source§impl Clone for WickComponent
impl Clone for WickComponent
Source§fn clone(&self) -> WickComponent
fn clone(&self) -> WickComponent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WickComponent
impl Debug for WickComponent
Source§impl<'de> Deserialize<'de> for WickComponent
impl<'de> Deserialize<'de> for WickComponent
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 WickComponent
impl PartialEq for WickComponent
Source§impl Serialize for WickComponent
impl Serialize for WickComponent
impl StructuralPartialEq for WickComponent
Auto Trait Implementations§
impl Freeze for WickComponent
impl RefUnwindSafe for WickComponent
impl Send for WickComponent
impl Sync for WickComponent
impl Unpin for WickComponent
impl UnwindSafe for WickComponent
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