pub struct Argument { /* private fields */ }Expand description
An argument
Implementations§
source§impl Argument
impl Argument
sourcepub fn new(name: &'static str, value: InputLiteral) -> Self
pub fn new(name: &'static str, value: InputLiteral) -> Self
Constructs an Argument
sourcepub fn from_cow_name(name: Cow<'static, str>, value: InputLiteral) -> Self
pub fn from_cow_name(name: Cow<'static, str>, value: InputLiteral) -> Self
Constructs an Argument with a Cow as its name