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