Enum wick_interface_types::HostedType
source · pub enum HostedType {
Component(ComponentSignature),
}
Expand description
An enum representing the types of components that can be hosted.
Variants§
Component(ComponentSignature)
A collection.
Implementations§
source§impl HostedType
impl HostedType
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
Get the name of the HostedType regardless of kind.
Trait Implementations§
source§impl Clone for HostedType
impl Clone for HostedType
source§fn clone(&self) -> HostedType
fn clone(&self) -> HostedType
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 HostedType
impl Debug for HostedType
source§impl<'de> Deserialize<'de> for HostedType
impl<'de> Deserialize<'de> for HostedType
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<HostedType> for HostedType
impl PartialEq<HostedType> for HostedType
source§fn eq(&self, other: &HostedType) -> bool
fn eq(&self, other: &HostedType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.