pub struct SpecFile {
pub metadata: SpecMetadata,
pub commands: IndexMap<String, CommandSpec>,
}Expand description
Top-level spec file containing metadata plus command entries.
Fields§
§metadata: SpecMetadataVersion and audit metadata for the built-in spec surface.
commands: IndexMap<String, CommandSpec>Built-in command specifications keyed by command name.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpecFile
impl<'de> Deserialize<'de> for SpecFile
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
Auto Trait Implementations§
impl Freeze for SpecFile
impl RefUnwindSafe for SpecFile
impl Send for SpecFile
impl Sync for SpecFile
impl Unpin for SpecFile
impl UnsafeUnpin for SpecFile
impl UnwindSafe for SpecFile
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