pub struct RootUiComponent {
pub component: Option<String>,
pub config: Option<HashMap<String, Value>>,
pub props: Option<Box<ConfigDescriptionDto>>,
pub slots: Option<HashMap<String, Vec<UiComponent>>>,
pub tags: Option<Vec<String>>,
pub timestamp: Option<String>,
pub type: Option<String>,
pub uid: Option<String>,
}Fields§
§component: Option<String>§config: Option<HashMap<String, Value>>§props: Option<Box<ConfigDescriptionDto>>§slots: Option<HashMap<String, Vec<UiComponent>>>§timestamp: Option<String>§type: Option<String>§uid: Option<String>Implementations§
Source§impl RootUiComponent
impl RootUiComponent
pub fn new() -> RootUiComponent
Trait Implementations§
Source§impl Clone for RootUiComponent
impl Clone for RootUiComponent
Source§fn clone(&self) -> RootUiComponent
fn clone(&self) -> RootUiComponent
Returns a duplicate 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 RootUiComponent
impl Debug for RootUiComponent
Source§impl Default for RootUiComponent
impl Default for RootUiComponent
Source§fn default() -> RootUiComponent
fn default() -> RootUiComponent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RootUiComponent
impl<'de> Deserialize<'de> for RootUiComponent
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 RootUiComponent
impl PartialEq for RootUiComponent
Source§impl Serialize for RootUiComponent
impl Serialize for RootUiComponent
impl StructuralPartialEq for RootUiComponent
Auto Trait Implementations§
impl Freeze for RootUiComponent
impl RefUnwindSafe for RootUiComponent
impl Send for RootUiComponent
impl Sync for RootUiComponent
impl Unpin for RootUiComponent
impl UnwindSafe for RootUiComponent
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