pub struct SessionOutputCursor {
pub item_id: String,
pub next_offset: u64,
pub total_bytes: u64,
}Expand description
Cursor for reading more of a restored tool-output capture.
Fields§
§item_id: StringStable canonical activity item identity.
next_offset: u64Byte offset to request next; always a UTF-8 boundary for text output.
total_bytes: u64Captured spool size observed during session restore.
Trait Implementations§
Source§impl Clone for SessionOutputCursor
impl Clone for SessionOutputCursor
Source§impl Debug for SessionOutputCursor
impl Debug for SessionOutputCursor
Source§impl<'de> Deserialize<'de> for SessionOutputCursor
impl<'de> Deserialize<'de> for SessionOutputCursor
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 SessionOutputCursor
Source§impl PartialEq for SessionOutputCursor
impl PartialEq for SessionOutputCursor
Source§impl Serialize for SessionOutputCursor
impl Serialize for SessionOutputCursor
impl StructuralPartialEq for SessionOutputCursor
Auto Trait Implementations§
impl Forget for SessionOutputCursor
impl Freeze for SessionOutputCursor
impl RefUnwindSafe for SessionOutputCursor
impl Send for SessionOutputCursor
impl Sync for SessionOutputCursor
impl Unpin for SessionOutputCursor
impl UnsafeUnpin for SessionOutputCursor
impl UnwindSafe for SessionOutputCursor
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.