pub struct UserRow {
pub text: String,
pub images: Vec<ImageContent>,
pub entry_id: Option<String>,
}Expand description
User message row.
Fields§
§text: StringText blocks joined.
images: Vec<ImageContent>Attached images.
entry_id: Option<String>Session entry id that started the turn (ui-protocol §6.7 turnEntryId).
Trait Implementations§
impl StructuralPartialEq for UserRow
Auto Trait Implementations§
impl Freeze for UserRow
impl RefUnwindSafe for UserRow
impl Send for UserRow
impl Sync for UserRow
impl Unpin for UserRow
impl UnsafeUnpin for UserRow
impl UnwindSafe for UserRow
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