pub struct UserTurn {
pub message: String,
pub stop: bool,
pub usage: Option<Usage>,
}Expand description
A simulated-user turn produced by the provider.
Fields§
§message: String§stop: boolThe simulated user chose to end the conversation.
usage: Option<Usage>Trait Implementations§
Auto Trait Implementations§
impl Freeze for UserTurn
impl RefUnwindSafe for UserTurn
impl Send for UserTurn
impl Sync for UserTurn
impl Unpin for UserTurn
impl UnsafeUnpin for UserTurn
impl UnwindSafe for UserTurn
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