pub struct ChatCursor {
pub before: Option<String>,
}Expand description
Pagination cursor for fetching older turns. Reserved for future
?before=<step_id> requests; currently every projection returns the
full chain in one shot.
JSON schema
{
"description": "Pagination cursor for fetching older turns. Reserved for future\n`?before=<step_id>` requests; currently every projection returns the\nfull chain in one shot.",
"type": "object",
"properties": {
"before": {
"description": "Canonical step ID one step older than `turns[0]`. `None` when the\nchain reaches a root step in this projection.",
"type": [
"string",
"null"
]
}
}
}Fields§
§before: Option<String>Canonical step ID one step older than turns[0]. None when the
chain reaches a root step in this projection.
Trait Implementations§
Source§impl Clone for ChatCursor
impl Clone for ChatCursor
Source§fn clone(&self) -> ChatCursor
fn clone(&self) -> ChatCursor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChatCursor
impl Debug for ChatCursor
Source§impl Default for ChatCursor
impl Default for ChatCursor
Source§impl<'de> Deserialize<'de> for ChatCursor
impl<'de> Deserialize<'de> for ChatCursor
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 ChatCursor
impl RefUnwindSafe for ChatCursor
impl Send for ChatCursor
impl Sync for ChatCursor
impl Unpin for ChatCursor
impl UnsafeUnpin for ChatCursor
impl UnwindSafe for ChatCursor
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