pub enum ImplementationArgType {
TemplateValue(String),
Enum(Vec<String>),
Value(Type),
}Expand description
Represents a function argument
Variants§
TemplateValue(String)
An argument is a templated value (e.g. add
Enum(Vec<String>)
The argument is a constant choice between a small set of possible values
For example, the “extract” function uses an enum to select the field to extract from a datetime value.
Value(Type)
A regular argument provided by an expression of the given type
Trait Implementations§
source§impl Clone for ImplementationArgType
impl Clone for ImplementationArgType
source§fn clone(&self) -> ImplementationArgType
fn clone(&self) -> ImplementationArgType
Returns a copy 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 RefUnwindSafe for ImplementationArgType
impl Send for ImplementationArgType
impl Sync for ImplementationArgType
impl Unpin for ImplementationArgType
impl UnwindSafe for ImplementationArgType
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