pub struct ExplainOptions {
pub color: bool,
pub syntax_highlight: bool,
pub width: usize,
pub validation_errors: Vec<ExplainError>,
pub extended: bool,
}Expand description
Display options for rendering schema documentation.
Fields§
§color: boolUse ANSI color codes in output.
syntax_highlight: boolSyntax-highlight fenced code blocks in descriptions.
width: usizeTerminal width in columns for layout.
validation_errors: Vec<ExplainError>Validation errors to show before the schema documentation.
extended: boolShow extended details like $comment annotations.
Auto Trait Implementations§
impl Freeze for ExplainOptions
impl RefUnwindSafe for ExplainOptions
impl Send for ExplainOptions
impl Sync for ExplainOptions
impl Unpin for ExplainOptions
impl UnsafeUnpin for ExplainOptions
impl UnwindSafe for ExplainOptions
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