pub struct SkillExample {
pub input: String,
pub output: String,
}Expand description
Example input/output for a skill
Fields§
§input: StringExample input
output: StringExample output
Implementations§
Trait Implementations§
Source§impl Clone for SkillExample
impl Clone for SkillExample
Source§fn clone(&self) -> SkillExample
fn clone(&self) -> SkillExample
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SkillExample
impl Debug for SkillExample
Source§impl<'de> Deserialize<'de> for SkillExample
impl<'de> Deserialize<'de> for SkillExample
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 SkillExample
impl RefUnwindSafe for SkillExample
impl Send for SkillExample
impl Sync for SkillExample
impl Unpin for SkillExample
impl UnsafeUnpin for SkillExample
impl UnwindSafe for SkillExample
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