Struct validators::boolean::BooleanValidator
source · pub struct BooleanValidator {}Implementations§
source§impl BooleanValidator
impl BooleanValidator
pub fn is_boolean(&self, boolean: &str) -> bool
pub fn parse_string(&self, boolean: String) -> BooleanResult
pub fn parse_str(&self, boolean: &str) -> BooleanResult
Trait Implementations§
source§impl Debug for BooleanValidator
impl Debug for BooleanValidator
source§impl PartialEq<BooleanValidator> for BooleanValidator
impl PartialEq<BooleanValidator> for BooleanValidator
source§fn eq(&self, other: &BooleanValidator) -> bool
fn eq(&self, other: &BooleanValidator) -> bool
impl StructuralPartialEq for BooleanValidator
Auto Trait Implementations§
impl RefUnwindSafe for BooleanValidator
impl Send for BooleanValidator
impl Sync for BooleanValidator
impl Unpin for BooleanValidator
impl UnwindSafe for BooleanValidator
Blanket Implementations§
§impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
§fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
Converts
self into a collection.