pub struct ArgumentInfo {
pub label: &'static str,
pub description: &'static str,
pub type_hint: &'static str,
pub optional: bool,
}Expand description
Documentation for a single function parameter.
Fields§
§label: &'static strParameter name for signature display (e.g., “array”, “text”)
description: &'static strParameter purpose and expected format
type_hint: &'static strType hint for users (e.g., “Array<Arc
optional: boolWhether parameter is optional (default false)
Trait Implementations§
Source§impl Clone for ArgumentInfo
impl Clone for ArgumentInfo
Source§fn clone(&self) -> ArgumentInfo
fn clone(&self) -> ArgumentInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 ArgumentInfo
impl RefUnwindSafe for ArgumentInfo
impl Send for ArgumentInfo
impl Sync for ArgumentInfo
impl Unpin for ArgumentInfo
impl UnwindSafe for ArgumentInfo
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