[−][src]Enum jddf::schema::Type
The values that the "type" keyword may check for.
In a certain sense, you can consider these types to be JSON's "primitive" types, with the remaining two types, arrays and objects, being the "complex" types covered by other keywords.
Variants
The "true" or "false" JSON values.
A floating-point number. Signals the intention that the data is meant to be a single-precision float.
A floating-point number. Signals the intention that the data is meant to be a double-precision float.
An integer in the range covered by i8
.
An integer in the range covered by u8
.
An integer in the range covered by i16
.
An integer in the range covered by u16
.
An integer in the range covered by i32
.
An integer in the range covered by u32
.
Any JSON string.
A string encoding an RFC3339 timestamp.
Trait Implementations
impl Clone for Type
[src]
impl Debug for Type
[src]
impl Eq for Type
[src]
impl Hash for Type
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Type> for Type
[src]
impl StructuralEq for Type
[src]
impl StructuralPartialEq for Type
[src]
Auto Trait Implementations
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,