pub struct SessionsReadPersistedEventsRequest {
pub cursor: Option<String>,
pub direction: Option<EventsReadDirection>,
pub max: Option<i64>,
pub session_id: SessionId,
}Expand description
Pagination options for reading an inactive or active local session’s persisted event journal.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§cursor: Option<String>Opaque cursor returned by a previous persisted-event read. Omit on the first call.
direction: Option<EventsReadDirection>Direction to page through persisted history. Forward starts at the beginning; backward starts with the newest events. Events in each page remain chronological.
max: Option<i64>Maximum number of events to return in this batch (1–1000, default 200).
session_id: SessionIdSession ID whose persisted event journal should be read.
Trait Implementations§
Source§impl Clone for SessionsReadPersistedEventsRequest
impl Clone for SessionsReadPersistedEventsRequest
Source§fn clone(&self) -> SessionsReadPersistedEventsRequest
fn clone(&self) -> SessionsReadPersistedEventsRequest
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 Default for SessionsReadPersistedEventsRequest
impl Default for SessionsReadPersistedEventsRequest
Source§fn default() -> SessionsReadPersistedEventsRequest
fn default() -> SessionsReadPersistedEventsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionsReadPersistedEventsRequest
impl<'de> Deserialize<'de> for SessionsReadPersistedEventsRequest
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 SessionsReadPersistedEventsRequest
impl RefUnwindSafe for SessionsReadPersistedEventsRequest
impl Send for SessionsReadPersistedEventsRequest
impl Sync for SessionsReadPersistedEventsRequest
impl Unpin for SessionsReadPersistedEventsRequest
impl UnsafeUnpin for SessionsReadPersistedEventsRequest
impl UnwindSafe for SessionsReadPersistedEventsRequest
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