pub struct SessionLoadResult {
pub session: AcpSession,
pub history: Vec<ConversationTurn>,
}Expand description
Result of session/load method
Fields§
§session: AcpSessionThe loaded session
history: Vec<ConversationTurn>Conversation history (if available)
Trait Implementations§
Source§impl Clone for SessionLoadResult
impl Clone for SessionLoadResult
Source§fn clone(&self) -> SessionLoadResult
fn clone(&self) -> SessionLoadResult
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 SessionLoadResult
impl Debug for SessionLoadResult
Source§impl<'de> Deserialize<'de> for SessionLoadResult
impl<'de> Deserialize<'de> for SessionLoadResult
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 SessionLoadResult
impl RefUnwindSafe for SessionLoadResult
impl Send for SessionLoadResult
impl Sync for SessionLoadResult
impl Unpin for SessionLoadResult
impl UnwindSafe for SessionLoadResult
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