pub enum NewKey {
Text,
Integer,
Float,
Boolean,
Datetime,
Table,
}Expand description
What a new key starts as.
The scalar types, and a table to put them in. An array and an array of tables are structure inside structure and are not offered yet.
Variants§
Text
An empty string.
Integer
Zero.
Float
Zero.
Boolean
False.
Datetime
The epoch, which is a date somebody will replace rather than a guess at the one they meant.
Table
An empty table to put keys in.
Implementations§
Trait Implementations§
impl Copy for NewKey
impl Eq for NewKey
impl StructuralPartialEq for NewKey
Auto Trait Implementations§
impl Freeze for NewKey
impl RefUnwindSafe for NewKey
impl Send for NewKey
impl Sync for NewKey
impl Unpin for NewKey
impl UnsafeUnpin for NewKey
impl UnwindSafe for NewKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.