pub struct SpecTool {
pub name: String,
pub version: String,
pub platform: Option<String>,
pub path: String,
pub source: Option<ToolSource>,
pub runner: Option<RunnerSpec>,
pub kind: Option<String>,
pub sdk_prefix: Option<String>,
}Fields§
§name: String§version: String§platform: Option<String>§path: StringBinary path, absolute or relative to the spec file’s directory.
source: Option<ToolSource>§runner: Option<RunnerSpec>§kind: Option<String>Payload kind (REQ-KIND-001): tool|crate|wit|zephyr-module|sdk| wasm-component|vsix. Absent = tool.
sdk_prefix: Option<String>sdk-prefix — the absolute path this tree was built for (REQ-SDK-001
clause 4). Required to make an sdk exportable at all: without it there
is no relocation budget, so varve export-sdk has nothing to patch.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpecTool
impl<'de> Deserialize<'de> for SpecTool
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 SpecTool
impl RefUnwindSafe for SpecTool
impl Send for SpecTool
impl Sync for SpecTool
impl Unpin for SpecTool
impl UnsafeUnpin for SpecTool
impl UnwindSafe for SpecTool
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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