pub struct ObjectView {
pub class: String,
pub short: String,
pub describe: String,
pub lines: Vec<String>,
}Expand description
The object a person’s decision covers, as reports show it.
Fields§
§class: Stringwrite, command, network or mcp.
short: StringThe canonical path, argv#<12 hex> or <tool>@<12 hex>.
describe: StringOne line: run `make check` .
lines: Vec<String>The object in full, as every interface shows it.
Trait Implementations§
Source§impl Clone for ObjectView
impl Clone for ObjectView
Source§impl Debug for ObjectView
impl Debug for ObjectView
Source§impl Default for ObjectView
impl Default for ObjectView
impl Eq for ObjectView
Source§impl JsonSchema for ObjectView
impl JsonSchema for ObjectView
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 moreSource§impl PartialEq for ObjectView
impl PartialEq for ObjectView
Source§impl Serialize for ObjectView
impl Serialize for ObjectView
impl StructuralPartialEq for ObjectView
Auto Trait Implementations§
impl Freeze for ObjectView
impl RefUnwindSafe for ObjectView
impl Send for ObjectView
impl Sync for ObjectView
impl Unpin for ObjectView
impl UnsafeUnpin for ObjectView
impl UnwindSafe for ObjectView
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