[][src]Enum json_trait_rs::RustType

pub enum RustType {
    Null,
    Boolean(bool),
    String(String),
    Integer(i128),
    Number(f64),
    List(Vec<RustType>),
    Object(HashMap<String, RustType>),
}

Variants

Null
Boolean(bool)
String(String)
Integer(i128)
Number(f64)
List(Vec<RustType>)

Trait Implementations

impl Clone for RustType[src]

impl Debug for RustType[src]

impl Default for RustType[src]

impl Display for RustType[src]

impl<'_> From<&'_ str> for RustType[src]

impl From<()> for RustType[src]

impl From<HashMap<String, RustType, RandomState>> for RustType[src]

impl From<String> for RustType[src]

impl From<Vec<RustType>> for RustType[src]

impl From<bool> for RustType[src]

impl From<f32> for RustType[src]

impl From<f64> for RustType[src]

impl From<i128> for RustType[src]

impl From<i32> for RustType[src]

impl From<i64> for RustType[src]

impl Into<RustType> for JsonValue[src]

impl Into<RustType> for PyAny[src]

impl Into<RustType> for Value[src]

impl Into<RustType> for Value[src]

impl<'json> JsonMapTrait<'json, RustType> for JsonMap<'json, RustType>[src]

impl JsonType for RustType[src]

impl JsonTypeToString for RustType[src]

impl PartialEq<RustType> for RustType[src]

impl StructuralPartialEq for RustType[src]

impl ThreadSafeJsonType for RustType[src]

impl ToRustType for RustType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> FromPy<T> for T

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> IntoPy<U> for T where
    U: FromPy<T>, 

impl<Separator> Join for Separator where
    Separator: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.