[−][src]Enum json_trait_rs::RustType
Variants
Boolean(bool)
String(String)
Integer(i128)
Number(f64)
Trait Implementations
impl Clone for RustType
[src]
impl Debug for RustType
[src]
impl Default 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]
#[must_use]fn items(&'json self) -> Box<dyn Iterator<Item = (&str, &RustType)> + 'json>
[src]
#[must_use]fn keys(&'json self) -> Box<dyn Iterator<Item = &str> + 'json>
[src]
#[must_use]fn values(&'json self) -> Box<dyn Iterator<Item = &T> + 'json>
[src]
impl JsonType for RustType
[src]
#[must_use]fn as_array<'json>(
&'json self
) -> Option<Box<dyn ExactSizeIterator<Item = &Self> + 'json>>
[src]
&'json self
) -> Option<Box<dyn ExactSizeIterator<Item = &Self> + 'json>>
#[must_use]fn as_boolean(&self) -> Option<bool>
[src]
#[must_use]fn as_integer(&self) -> Option<i128>
[src]
#[must_use]fn as_null(&self) -> Option<()>
[src]
#[must_use]fn as_number(&self) -> Option<f64>
[src]
#[must_use]fn as_object(&self) -> Option<JsonMap<Self>>
[src]
#[must_use]fn as_string(&self) -> Option<&str>
[src]
#[must_use]fn get_attribute(&self, attribute_name: &str) -> Option<&Self>
[src]
#[must_use]fn get_index(&self, index: usize) -> Option<&Self>
[src]
fn is_array(&self) -> bool where
Self: Sized,
[src]
Self: Sized,
fn is_boolean(&self) -> bool
[src]
fn is_integer(&self) -> bool
[src]
fn is_null(&self) -> bool
[src]
fn is_number(&self) -> bool
[src]
fn is_object(&self) -> bool where
Self: Sized,
JsonMap<'json, Self>: JsonMapTrait<'json, Self>,
[src]
Self: Sized,
JsonMap<'json, Self>: JsonMapTrait<'json, Self>,
fn is_string(&self) -> bool
[src]
fn has_attribute(&self, attribute_name: &str) -> bool where
Self: Sized,
[src]
Self: Sized,
fn primitive_type(&self) -> PrimitiveType where
Self: Sized,
JsonMap<'json, Self>: JsonMapTrait<'json, Self>,
[src]
Self: Sized,
JsonMap<'json, Self>: JsonMapTrait<'json, Self>,
impl PartialEq<RustType> for RustType
[src]
impl StructuralPartialEq for RustType
[src]
impl ThreadSafeJsonType for RustType
[src]
impl ToRustType for RustType
[src]
fn to_rust_type(&self) -> RustType
[src]
Auto Trait Implementations
impl RefUnwindSafe for RustType
impl Send for RustType
impl Sync for RustType
impl Unpin for RustType
impl UnwindSafe for RustType
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> FromPy<T> for T
fn from_py(t: T, Python) -> T
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> IntoPy<U> for T where
U: FromPy<T>,
U: FromPy<T>,
fn into_py(self, py: Python) -> U
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>,