Struct AcpSessionPage
pub struct AcpSessionPage {
pub principal_id: Option<String>,
pub messages: Vec<ConversationMessage>,
pub next_cursor: Option<String>,
pub has_older: bool,
}Expand description
A bounded, store-owned page of the typed ACP transcript. The cursor is deliberately opaque to RPC clients; callers must hand it back unchanged.
Fields§
§principal_id: Option<String>Owner read in the same transaction as the page, for RPC authorization revalidation without loading the complete transcript.
messages: Vec<ConversationMessage>§next_cursor: Option<String>§has_older: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for AcpSessionPage
impl RefUnwindSafe for AcpSessionPage
impl Send for AcpSessionPage
impl Sync for AcpSessionPage
impl Unpin for AcpSessionPage
impl UnsafeUnpin for AcpSessionPage
impl UnwindSafe for AcpSessionPage
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