pub struct TypeComponentInstance {
    pub exports: IndexMap<String, TypeDef>,
}Expand description
The type of a component instance in the component model, or an instantiated component.
Component instances only have exports of types in the component model.
Fields§
§exports: IndexMap<String, TypeDef>The list of exports that this component has along with their types.
Trait Implementations§
source§impl Default for TypeComponentInstance
 
impl Default for TypeComponentInstance
source§fn default() -> TypeComponentInstance
 
fn default() -> TypeComponentInstance
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TypeComponentInstance
 
impl<'de> Deserialize<'de> for TypeComponentInstance
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 TypeComponentInstance
impl RefUnwindSafe for TypeComponentInstance
impl Send for TypeComponentInstance
impl Sync for TypeComponentInstance
impl Unpin for TypeComponentInstance
impl UnwindSafe for TypeComponentInstance
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