Struct liquid_core::parser::ParameterReflection
source · pub struct ParameterReflection {
pub name: &'static str,
pub description: &'static str,
pub is_optional: bool,
}
Expand description
A structure that holds the information of a single parameter in a filter. This includes its name, description and whether it is optional or required.
This is the return type in some FilterReflection
functions.
Fields§
§name: &'static str
§description: &'static str
§is_optional: bool
Auto Trait Implementations§
impl RefUnwindSafe for ParameterReflection
impl Send for ParameterReflection
impl Sync for ParameterReflection
impl Unpin for ParameterReflection
impl UnwindSafe for ParameterReflection
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