pub struct BooleanValidator {
pub type_: BooleanValidator_,
pub id: Option<Box<String>>,
}
Expand description
A schema specifying that a node must be a boolean value.
Fields§
§type_: BooleanValidator_
The name of this type
id: Option<Box<String>>
The identifier for this item.
Trait Implementations§
Source§impl Clone for BooleanValidator
impl Clone for BooleanValidator
Source§fn clone(&self) -> BooleanValidator
fn clone(&self) -> BooleanValidator
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BooleanValidator
impl Debug for BooleanValidator
Source§impl Default for BooleanValidator
impl Default for BooleanValidator
Source§impl<'de> Deserialize<'de> for BooleanValidatorwhere
BooleanValidator: Default,
impl<'de> Deserialize<'de> for BooleanValidatorwhere
BooleanValidator: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BooleanValidator
impl RefUnwindSafe for BooleanValidator
impl Send for BooleanValidator
impl Sync for BooleanValidator
impl Unpin for BooleanValidator
impl UnwindSafe for BooleanValidator
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