pub enum ComponentReference {
Inline(Box<Component>),
External(String),
}Expand description
An inline component or a path to a component JSON file/directory.
Variants§
Trait Implementations§
Source§impl Clone for ComponentReference
impl Clone for ComponentReference
Source§impl Debug for ComponentReference
impl Debug for ComponentReference
Source§impl<'de> Deserialize<'de> for ComponentReference
impl<'de> Deserialize<'de> for ComponentReference
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 ComponentReference
impl RefUnwindSafe for ComponentReference
impl Send for ComponentReference
impl Sync for ComponentReference
impl Unpin for ComponentReference
impl UnsafeUnpin for ComponentReference
impl UnwindSafe for ComponentReference
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