pub struct SkillParam {
pub name: String,
pub description: String,
pub default: Option<String>,
}Expand description
A parameter declared in a skill’s frontmatter.
Fields§
§name: StringParameter name, e.g. “language”
description: StringBrief description
default: Option<String>Default value (None if required)
Trait Implementations§
Source§impl Clone for SkillParam
impl Clone for SkillParam
Source§fn clone(&self) -> SkillParam
fn clone(&self) -> SkillParam
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 moreAuto Trait Implementations§
impl Freeze for SkillParam
impl RefUnwindSafe for SkillParam
impl Send for SkillParam
impl Sync for SkillParam
impl Unpin for SkillParam
impl UnsafeUnpin for SkillParam
impl UnwindSafe for SkillParam
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