pub struct RecoveredSurface {
pub operations: Vec<AgentMessage>,
pub components: Vec<Component>,
pub data_model: Value,
pub text: String,
pub attempts: u32,
}Expand description
A surface that survived validation.
Fields§
§operations: Vec<AgentMessage>The operations the model produced, in order.
components: Vec<Component>The components those operations define, folded together.
data_model: ValueThe data model those operations build.
text: StringConversational text the model wrote around the A2UI blocks.
attempts: u32How many attempts it took, 1 when the first try was clean.
Trait Implementations§
Source§impl Clone for RecoveredSurface
impl Clone for RecoveredSurface
Source§fn clone(&self) -> RecoveredSurface
fn clone(&self) -> RecoveredSurface
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RecoveredSurface
impl Debug for RecoveredSurface
Source§impl PartialEq for RecoveredSurface
impl PartialEq for RecoveredSurface
Source§fn eq(&self, other: &RecoveredSurface) -> bool
fn eq(&self, other: &RecoveredSurface) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecoveredSurface
Auto Trait Implementations§
impl Freeze for RecoveredSurface
impl RefUnwindSafe for RecoveredSurface
impl Send for RecoveredSurface
impl Sync for RecoveredSurface
impl Unpin for RecoveredSurface
impl UnsafeUnpin for RecoveredSurface
impl UnwindSafe for RecoveredSurface
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