pub struct CommandDocumentation {
pub path: String,
pub name: String,
pub parts: Vec<CommandPart>,
pub is_query: bool,
pub description: Option<String>,
pub attributes: Option<Value>,
}Expand description
Represents a serializable SCPI command for documentation export.
Fields§
§path: StringThe full canonical path of the command.
name: StringThe name of the command as defined in the command definition.
parts: Vec<CommandPart>The parts of the command.
is_query: boolWhether the command is a query (ends with ?).
description: Option<String>The plain text documentation.
attributes: Option<Value>Structured data extracted from YAML blocks in the documentation.
Trait Implementations§
Source§impl Debug for CommandDocumentation
impl Debug for CommandDocumentation
Auto Trait Implementations§
impl Freeze for CommandDocumentation
impl RefUnwindSafe for CommandDocumentation
impl Send for CommandDocumentation
impl Sync for CommandDocumentation
impl Unpin for CommandDocumentation
impl UnsafeUnpin for CommandDocumentation
impl UnwindSafe for CommandDocumentation
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