Struct stencila_schema::BooleanValidator [−][src]
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
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
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
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
Mutably borrows from an owned value. Read more