#[repr(u32)]pub enum PredsyncScalarKind {
Show 13 variants
None = 0,
Bool = 1,
U8 = 2,
U16 = 3,
U32 = 4,
U64 = 5,
I8 = 6,
I16 = 7,
I32 = 8,
I64 = 9,
F32 = 10,
F64 = 11,
Enum = 12,
}Expand description
The schema scalar carried by a PredsyncValue.
Variants§
None = 0
No scalar type (used when the value is not scalar).
Bool = 1
Boolean.
U8 = 2
Unsigned 8-bit integer.
U16 = 3
Unsigned 16-bit integer.
U32 = 4
Unsigned 32-bit integer.
U64 = 5
Unsigned 64-bit integer.
I8 = 6
Signed 8-bit integer.
I16 = 7
Signed 16-bit integer.
I32 = 8
Signed 32-bit integer.
I64 = 9
Signed 64-bit integer.
F32 = 10
32-bit float.
F64 = 11
64-bit float.
Enum = 12
A schema enum variant index.
Trait Implementations§
Source§impl Clone for PredsyncScalarKind
impl Clone for PredsyncScalarKind
impl Copy for PredsyncScalarKind
Source§impl Debug for PredsyncScalarKind
impl Debug for PredsyncScalarKind
impl Eq for PredsyncScalarKind
Source§impl PartialEq for PredsyncScalarKind
impl PartialEq for PredsyncScalarKind
impl StructuralPartialEq for PredsyncScalarKind
Auto Trait Implementations§
impl Freeze for PredsyncScalarKind
impl RefUnwindSafe for PredsyncScalarKind
impl Send for PredsyncScalarKind
impl Sync for PredsyncScalarKind
impl Unpin for PredsyncScalarKind
impl UnsafeUnpin for PredsyncScalarKind
impl UnwindSafe for PredsyncScalarKind
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.