Enum wick_config::v1::ComponentKind
source · pub enum ComponentKind {
WasmComponentConfiguration(WasmComponentConfiguration),
CompositeComponentConfiguration(CompositeComponentConfiguration),
SqlComponent(SqlComponent),
HttpClientComponent(HttpClientComponent),
}Expand description
Root component types. These are the components that can be instantiated and run.
Variants§
WasmComponentConfiguration(WasmComponentConfiguration)
A variant representing a WasmComponentConfiguration type.
CompositeComponentConfiguration(CompositeComponentConfiguration)
A variant representing a CompositeComponentConfiguration type.
SqlComponent(SqlComponent)
A variant representing a SqlComponent type.
HttpClientComponent(HttpClientComponent)
A variant representing a HttpClientComponent type.
Trait Implementations§
source§impl Clone for ComponentKind
impl Clone for ComponentKind
source§fn clone(&self) -> ComponentKind
fn clone(&self) -> ComponentKind
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 ComponentKind
impl Debug for ComponentKind
source§impl<'de> Deserialize<'de> for ComponentKind
impl<'de> Deserialize<'de> for ComponentKind
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<ComponentKind> for ComponentKind
impl PartialEq<ComponentKind> for ComponentKind
source§fn eq(&self, other: &ComponentKind) -> bool
fn eq(&self, other: &ComponentKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ComponentKind
impl Serialize for ComponentKind
source§impl TryFrom<ComponentImplementation> for ComponentKind
impl TryFrom<ComponentImplementation> for ComponentKind
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<ComponentKind> for ComponentImplementation
impl TryFrom<ComponentKind> for ComponentImplementation
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for ComponentKind
Auto Trait Implementations§
impl RefUnwindSafe for ComponentKind
impl Send for ComponentKind
impl Sync for ComponentKind
impl Unpin for ComponentKind
impl UnwindSafe for ComponentKind
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