pub struct DiagnosticsReadRequest {
pub cursor: Option<String>,
pub max: Option<i64>,
pub sources: Vec<DiagnosticSource>,
pub wait_ms: Option<i32>,
}Expand description
Cursor-based request for session diagnostics. The default limit is 100 (maximum 500); the default waitMs is zero (maximum 30000).
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 an earlier read. Omit to start at the oldest retained record.
max: Option<i64>Maximum number of records to return, from 1 through 500. Omit for 100.
sources: Vec<DiagnosticSource>Nonempty selection of sources to read. Each source may be listed once.
wait_ms: Option<i32>Maximum time in milliseconds to wait for a new record, from 0 through 30000.
Trait Implementations§
Source§impl Clone for DiagnosticsReadRequest
impl Clone for DiagnosticsReadRequest
Source§impl Debug for DiagnosticsReadRequest
impl Debug for DiagnosticsReadRequest
Source§impl Default for DiagnosticsReadRequest
impl Default for DiagnosticsReadRequest
Source§impl<'de> Deserialize<'de> for DiagnosticsReadRequest
impl<'de> Deserialize<'de> for DiagnosticsReadRequest
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 DiagnosticsReadRequest
impl RefUnwindSafe for DiagnosticsReadRequest
impl Send for DiagnosticsReadRequest
impl Sync for DiagnosticsReadRequest
impl Unpin for DiagnosticsReadRequest
impl UnsafeUnpin for DiagnosticsReadRequest
impl UnwindSafe for DiagnosticsReadRequest
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