[−][src]Enum no_proto::schema::NP_Parsed_Schema
When a schema is parsed from JSON or Bytes, it is stored in this recursive type
Variants
Fields of Any
sortable: bool
i: NP_TypeKeys
Fields of UTF8String
Fields of Bytes
Fields of Int8
Fields of Int16
Fields of Int32
Fields of Int64
Fields of Uint8
Fields of Uint16
Fields of Uint32
Fields of Uint64
Fields of Float
Fields of Double
Fields of Decimal
Fields of Boolean
Fields of Geo
Fields of Date
Fields of Enum
Fields of Uuid
sortable: bool
i: NP_TypeKeys
Fields of Ulid
sortable: bool
i: NP_TypeKeys
Fields of Table
Fields of Map
Fields of List
Fields of Tuple
Implementations
impl NP_Parsed_Schema
[src]
pub fn get_type_key(&self) -> &NP_TypeKeys
[src]
Get the type key for this schema
pub fn get_type_data(&self) -> (&str, NP_TypeKeys)
[src]
Get the type data fo a given schema value
pub fn is_sortable(&self) -> bool
[src]
Return if this schema is sortable
Trait Implementations
impl Clone for NP_Parsed_Schema
[src]
pub fn clone(&self) -> NP_Parsed_Schema
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NP_Parsed_Schema
[src]
Auto Trait Implementations
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,