pub enum BooleanKeyRepr {
String,
Error,
}Expand description
How to represent boolean keys in a data model that does not support booleans as object keys. Corresponds to the $boolean-key-repr extension.
Variants§
Trait Implementations§
Source§impl Clone for BooleanKeyRepr
impl Clone for BooleanKeyRepr
Source§fn clone(&self) -> BooleanKeyRepr
fn clone(&self) -> BooleanKeyRepr
Returns a duplicate 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 BooleanKeyRepr
impl Debug for BooleanKeyRepr
Source§impl Default for BooleanKeyRepr
impl Default for BooleanKeyRepr
Source§fn default() -> BooleanKeyRepr
fn default() -> BooleanKeyRepr
Returns the “default value” for a type. Read more
Source§impl PartialEq for BooleanKeyRepr
impl PartialEq for BooleanKeyRepr
impl StructuralPartialEq for BooleanKeyRepr
Auto Trait Implementations§
impl Freeze for BooleanKeyRepr
impl RefUnwindSafe for BooleanKeyRepr
impl Send for BooleanKeyRepr
impl Sync for BooleanKeyRepr
impl Unpin for BooleanKeyRepr
impl UnwindSafe for BooleanKeyRepr
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