Trait sandkiste::types::MaybeBoolean
source · pub trait MaybeBooleanwhere
Self: From<bool>,{
// Required method
fn try_as_bool(&self) -> Result<bool, TypeMismatch>;
}
Expand description
Types that can be boolean
Required Methods§
sourcefn try_as_bool(&self) -> Result<bool, TypeMismatch>
fn try_as_bool(&self) -> Result<bool, TypeMismatch>
Try to interpret datum as boolean value