pub enum HostedType {
Collection(CollectionSignature),
}
Expand description
An enum representing the types of components that can be hosted.
Variants§
Collection(CollectionSignature)
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 for HostedType
impl PartialEq for HostedType
Source§impl Serialize for HostedType
impl Serialize for HostedType
impl StructuralPartialEq for HostedType
Auto Trait Implementations§
impl Freeze for HostedType
impl RefUnwindSafe for HostedType
impl Send for HostedType
impl Sync for HostedType
impl Unpin for HostedType
impl UnwindSafe for HostedType
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