Struct ComponentArg
pub struct ComponentArg { /* private fields */ }
Information about a single component argument.
Implementations
impl ComponentArg
fn name(&self) -> &strThe argument name.
fn default(&self) -> Option<&Value>The default value, if one was specified
fn arg_type(&self) -> Option<ComponentArgType>The type, if one was specified.
fn is_required(&self) -> boolWhether this param is required, eg no default value for a non-implicit arg. The argument needs to be passed explicitly
fn is_implicit(&self) -> boolWhether this param is implicit
Trait Implementations
impl Clone for ComponentArg
fn clone(&self) -> Self
impl Debug for ComponentArg
fn fmt(&self, f: &mut Formatter<'_>) -> Result