pub struct Resume {
pub backend: String,
pub session: String,
pub prompt: String,
}Expand description
A native session to continue.
Fields§
§backend: StringThe backend that owns the session (AgentBackend::name of the one that answered).
session: StringSession id from AgentReply::session_id.
prompt: StringThe new messages only (the session already holds the earlier ones).
Trait Implementations§
impl Eq for Resume
impl StructuralPartialEq for Resume
Auto Trait Implementations§
impl Freeze for Resume
impl RefUnwindSafe for Resume
impl Send for Resume
impl Sync for Resume
impl Unpin for Resume
impl UnsafeUnpin for Resume
impl UnwindSafe for Resume
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