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: boolAuto Trait Implementations§
impl Freeze for ParameterReflection
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more