pub struct MetadataOutput {
pub name: String,
pub description: String,
}Expand description
Wire-format output from a WASM importer’s metadata entry point.
Returned once at load time and cached by the host registry — used
for Importer::name() and Importer::description() on the wrapper.
Fields§
§name: StringImporter name (e.g. "MT940", "FinTS"). Used by the registry
for find_by_name lookups.
description: StringHuman-readable description for --list-importers and similar.
Trait Implementations§
Source§impl Clone for MetadataOutput
impl Clone for MetadataOutput
Source§fn clone(&self) -> MetadataOutput
fn clone(&self) -> MetadataOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MetadataOutput
impl Debug for MetadataOutput
Source§impl<'de> Deserialize<'de> for MetadataOutput
impl<'de> Deserialize<'de> for MetadataOutput
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 MetadataOutput
impl RefUnwindSafe for MetadataOutput
impl Send for MetadataOutput
impl Sync for MetadataOutput
impl Unpin for MetadataOutput
impl UnsafeUnpin for MetadataOutput
impl UnwindSafe for MetadataOutput
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