pub struct DiagnosticsReadResult {
pub cursor: String,
pub cursor_status: DiagnosticCursorStatus,
pub dropped_count: Option<i64>,
pub entries: Vec<DiagnosticsReadResultEntriesItem>,
pub has_more: bool,
}Expand description
One cursor-addressed page of retained session diagnostics.
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: StringOpaque cursor for the next independent read.
cursor_status: DiagnosticCursorStatusWhether the requested cursor remained within the retained buffer window.
dropped_count: Option<i64>Number of records lost before this page when known. Omitted when a buffer generation change makes the count unknowable.
entries: Vec<DiagnosticsReadResultEntriesItem>Retained records beginning at the requested cursor.
has_more: boolWhether additional retained records follow this page.
Trait Implementations§
Source§impl Clone for DiagnosticsReadResult
impl Clone for DiagnosticsReadResult
Source§impl Debug for DiagnosticsReadResult
impl Debug for DiagnosticsReadResult
Source§impl Default for DiagnosticsReadResult
impl Default for DiagnosticsReadResult
Source§impl<'de> Deserialize<'de> for DiagnosticsReadResult
impl<'de> Deserialize<'de> for DiagnosticsReadResult
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 DiagnosticsReadResult
impl RefUnwindSafe for DiagnosticsReadResult
impl Send for DiagnosticsReadResult
impl Sync for DiagnosticsReadResult
impl Unpin for DiagnosticsReadResult
impl UnsafeUnpin for DiagnosticsReadResult
impl UnwindSafe for DiagnosticsReadResult
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