pub struct ComponentExternData {
pub implements: Option<String>,
pub external_id: Option<String>,
}Expand description
Metadata associated with the name of a component import or export.
Fields§
§implements: Option<String>The (implements "...") annotation, if present: the name of the
interface that this item implements, used when matching this item
against imports by interface name rather than by import name.
external_id: Option<String>The (external-id "...") annotation, if present: a free-form
host-defined identifier which is ignored by type checking.
Trait Implementations§
Source§impl Clone for ComponentExternData
impl Clone for ComponentExternData
Source§fn clone(&self) -> ComponentExternData
fn clone(&self) -> ComponentExternData
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 ComponentExternData
impl Debug for ComponentExternData
Source§impl<'de> Deserialize<'de> for ComponentExternData
impl<'de> Deserialize<'de> for ComponentExternData
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 ComponentExternData
impl RefUnwindSafe for ComponentExternData
impl Send for ComponentExternData
impl Sync for ComponentExternData
impl Unpin for ComponentExternData
impl UnsafeUnpin for ComponentExternData
impl UnwindSafe for ComponentExternData
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