pub struct Param {
pub name: &'static str,
pub positional: bool,
pub required: bool,
pub kind: ParamKind,
}Fields§
§name: &'static str§positional: boolPositional parameters come first and have no label; the rest are always named.
required: bool§kind: ParamKindTrait Implementations§
Auto Trait Implementations§
impl Freeze for Param
impl RefUnwindSafe for Param
impl Send for Param
impl Sync for Param
impl Unpin for Param
impl UnsafeUnpin for Param
impl UnwindSafe for Param
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