pub struct TextReport {
pub printed: Option<String>,
}Expand description
What a command that prints prose rather than a document had to say.
Most of debug predates any thought of being parsed and prints for a person
reading a terminal. Handing that text back whole is the honest answer: this
server does not know which line mattered, and inventing a structure over
output the client calls unstable would break on the release that reworded
it.
Fields§
§printed: Option<String>Trait Implementations§
Source§impl Debug for TextReport
impl Debug for TextReport
Source§impl JsonSchema for TextReport
impl JsonSchema for TextReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for TextReport
impl RefUnwindSafe for TextReport
impl Send for TextReport
impl Sync for TextReport
impl Unpin for TextReport
impl UnsafeUnpin for TextReport
impl UnwindSafe for TextReport
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