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 strdescription: &'static stris_optional: boolAuto Trait Implementations
impl RefUnwindSafe for ParameterReflection
impl Send for ParameterReflection
impl Sync for ParameterReflection
impl Unpin for ParameterReflection
impl UnwindSafe for ParameterReflection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more