pub struct FixtureSkillSpec {
pub id: String,
pub symbol: Symbol,
pub title: String,
pub description: String,
pub input_shape: ShapeRef,
pub output_shape: ShapeRef,
pub transport_id: String,
pub operation: String,
}Expand description
Inputs for building a fixture SkillCard via SkillCard::fixture.
Fields§
§id: StringStable string identifier for the skill.
symbol: SymbolSymbol the skill is registered and called under.
title: StringHuman-readable title.
description: StringHuman-readable description.
input_shape: ShapeRefShape contract for the call arguments.
output_shape: ShapeRefShape contract for the call result.
transport_id: StringIdentifier of the fixture transport that runs the skill.
operation: StringOperation name the fixture transport dispatches.
Auto Trait Implementations§
impl !RefUnwindSafe for FixtureSkillSpec
impl !UnwindSafe for FixtureSkillSpec
impl Freeze for FixtureSkillSpec
impl Send for FixtureSkillSpec
impl Sync for FixtureSkillSpec
impl Unpin for FixtureSkillSpec
impl UnsafeUnpin for FixtureSkillSpec
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