pub struct SessionOutputPage {
pub session_id: String,
pub request_id: String,
pub item_id: String,
pub offset: u64,
pub next_offset: u64,
pub total_bytes: u64,
pub text: String,
pub has_more: bool,
}Expand description
One bounded page from an archived tool-output capture.
Fields§
§session_id: StringDurable session that owns the output item.
request_id: StringRequest identity echoed from SessionOutputReadParams.
item_id: StringStable canonical activity item identity.
offset: u64Requested starting offset.
next_offset: u64Next UTF-8 boundary after the returned text.
total_bytes: u64Captured spool size observed during this read.
text: StringText captured in this page.
has_more: boolWhether more captured bytes remain.
Trait Implementations§
Source§impl Clone for SessionOutputPage
impl Clone for SessionOutputPage
Source§impl Debug for SessionOutputPage
impl Debug for SessionOutputPage
Source§impl<'de> Deserialize<'de> for SessionOutputPage
impl<'de> Deserialize<'de> for SessionOutputPage
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 SessionOutputPage
Source§impl PartialEq for SessionOutputPage
impl PartialEq for SessionOutputPage
Source§impl Serialize for SessionOutputPage
impl Serialize for SessionOutputPage
impl StructuralPartialEq for SessionOutputPage
Auto Trait Implementations§
impl Forget for SessionOutputPage
impl Freeze for SessionOutputPage
impl RefUnwindSafe for SessionOutputPage
impl Send for SessionOutputPage
impl Sync for SessionOutputPage
impl Unpin for SessionOutputPage
impl UnsafeUnpin for SessionOutputPage
impl UnwindSafe for SessionOutputPage
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.