pub struct A2uiResponse {
pub schema_version: String,
pub version: String,
pub components: Vec<A2uiComponent>,
pub data_model: BTreeMap<String, A2uiDataField>,
}Expand description
Google A2UI-compatible response payload.
This is the format served at /a2ui/schema for cross-platform compatibility.
Fields§
§schema_version: StringCELLSTATE schema version for backwards compatibility tracking.
version: StringA2UI spec version.
components: Vec<A2uiComponent>Flat list of UI component definitions.
data_model: BTreeMap<String, A2uiDataField>Data model bindings.
Trait Implementations§
Source§impl Clone for A2uiResponse
impl Clone for A2uiResponse
Source§fn clone(&self) -> A2uiResponse
fn clone(&self) -> A2uiResponse
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 A2uiResponse
impl Debug for A2uiResponse
Source§impl<'de> Deserialize<'de> for A2uiResponse
impl<'de> Deserialize<'de> for A2uiResponse
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 A2uiResponse
impl RefUnwindSafe for A2uiResponse
impl Send for A2uiResponse
impl Sync for A2uiResponse
impl Unpin for A2uiResponse
impl UnwindSafe for A2uiResponse
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