#[non_exhaustive]pub struct CodeModeOutputSpan {
pub stream: CodeModeOutputStream,
pub offset_bytes: u64,
pub length_bytes: u64,
}Expand description
One public-output span inside the item’s visibleOutput.
Offsets index the UTF-8 encoding of the decoded visibleOutput
string, never the JSON-escaped wire text; both ends fall on code-point
boundaries; named and measured like item/readOutput’s byte range.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.stream: CodeModeOutputStreamWhat the bytes are.
offset_bytes: u64Start of the span, in bytes.
length_bytes: u64Length of the span, in bytes.
Trait Implementations§
Source§impl Clone for CodeModeOutputSpan
impl Clone for CodeModeOutputSpan
Source§impl Debug for CodeModeOutputSpan
impl Debug for CodeModeOutputSpan
Source§impl<'de> Deserialize<'de> for CodeModeOutputSpan
impl<'de> Deserialize<'de> for CodeModeOutputSpan
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 CodeModeOutputSpan
Source§impl PartialEq for CodeModeOutputSpan
impl PartialEq for CodeModeOutputSpan
Source§impl Serialize for CodeModeOutputSpan
impl Serialize for CodeModeOutputSpan
impl StructuralPartialEq for CodeModeOutputSpan
Auto Trait Implementations§
impl Forget for CodeModeOutputSpan
impl Freeze for CodeModeOutputSpan
impl Move for CodeModeOutputSpan
impl RefUnwindSafe for CodeModeOutputSpan
impl Send for CodeModeOutputSpan
impl Sync for CodeModeOutputSpan
impl Unpin for CodeModeOutputSpan
impl UnsafeUnpin for CodeModeOutputSpan
impl UnwindSafe for CodeModeOutputSpan
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