pub struct A2uiComponent {
pub id: String,
pub component_type: String,
pub properties: BTreeMap<String, Value>,
pub children: Vec<String>,
}Expand description
A single A2UI component definition.
Fields§
§id: StringUnique component ID.
component_type: StringComponent type (e.g., “text”, “card”, “button”, “data-table”).
properties: BTreeMap<String, Value>Component properties.
children: Vec<String>Child component IDs (for composition).
Trait Implementations§
Source§impl Clone for A2uiComponent
impl Clone for A2uiComponent
Source§fn clone(&self) -> A2uiComponent
fn clone(&self) -> A2uiComponent
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 A2uiComponent
impl Debug for A2uiComponent
Source§impl<'de> Deserialize<'de> for A2uiComponent
impl<'de> Deserialize<'de> for A2uiComponent
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 A2uiComponent
impl RefUnwindSafe for A2uiComponent
impl Send for A2uiComponent
impl Sync for A2uiComponent
impl Unpin for A2uiComponent
impl UnwindSafe for A2uiComponent
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