pub struct BooleanSchema { /* private fields */ }
Expand description
The Boolean schema describes a Boolean value (further information on the module’s documentation).
Boolean schemata always describe a bitfield with a width of 1 bit.
Implementations§
Source§impl BooleanSchema
impl BooleanSchema
Trait Implementations§
Source§impl Clone for BooleanSchema
impl Clone for BooleanSchema
Source§fn clone(&self) -> BooleanSchema
fn clone(&self) -> BooleanSchema
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 BooleanSchema
impl Debug for BooleanSchema
Source§impl Decoder for BooleanSchema
impl Decoder for BooleanSchema
Source§impl<'de> Deserialize<'de> for BooleanSchema
impl<'de> Deserialize<'de> for BooleanSchema
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
Source§impl Encoder for BooleanSchema
impl Encoder for BooleanSchema
Source§impl From<Bitfield> for BooleanSchema
impl From<Bitfield> for BooleanSchema
Source§impl From<BooleanSchema> for InnerSchema
impl From<BooleanSchema> for InnerSchema
Source§fn from(v: BooleanSchema) -> Self
fn from(v: BooleanSchema) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BooleanSchema
impl RefUnwindSafe for BooleanSchema
impl Send for BooleanSchema
impl Sync for BooleanSchema
impl Unpin for BooleanSchema
impl UnwindSafe for BooleanSchema
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