pub struct SessionHistoryParams {
pub session_id: String,
pub request_id: String,
pub before_index: usize,
pub limit: usize,
}Expand description
Request an earlier bounded page of the selected archived conversation.
Fields§
§session_id: StringDurable session identifier.
request_id: StringRequest identity echoed by the service to reject stale pages.
before_index: usizeExclusive end index for the page; use the earliest loaded archive index.
limit: usizeNumber of messages requested, capped by MAX_SESSION_HISTORY_PAGE_MESSAGES.
Trait Implementations§
Source§impl Clone for SessionHistoryParams
impl Clone for SessionHistoryParams
Source§impl Debug for SessionHistoryParams
impl Debug for SessionHistoryParams
Source§impl<'de> Deserialize<'de> for SessionHistoryParams
impl<'de> Deserialize<'de> for SessionHistoryParams
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
impl Eq for SessionHistoryParams
Source§impl PartialEq for SessionHistoryParams
impl PartialEq for SessionHistoryParams
Source§impl Serialize for SessionHistoryParams
impl Serialize for SessionHistoryParams
impl StructuralPartialEq for SessionHistoryParams
Auto Trait Implementations§
impl Forget for SessionHistoryParams
impl Freeze for SessionHistoryParams
impl RefUnwindSafe for SessionHistoryParams
impl Send for SessionHistoryParams
impl Sync for SessionHistoryParams
impl Unpin for SessionHistoryParams
impl UnsafeUnpin for SessionHistoryParams
impl UnwindSafe for SessionHistoryParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.