windows::Data::Json

Trait IJsonValue_Impl

pub trait IJsonValue_Impl: IUnknownImpl {
    // Required methods
    fn ValueType(&self) -> Result<JsonValueType>;
    fn Stringify(&self) -> Result<HSTRING>;
    fn GetString(&self) -> Result<HSTRING>;
    fn GetNumber(&self) -> Result<f64>;
    fn GetBoolean(&self) -> Result<bool>;
    fn GetArray(&self) -> Result<JsonArray>;
    fn GetObject(&self) -> Result<JsonObject>;
}

Required Methods§

fn ValueType(&self) -> Result<JsonValueType>

fn Stringify(&self) -> Result<HSTRING>

fn GetString(&self) -> Result<HSTRING>

fn GetNumber(&self) -> Result<f64>

fn GetBoolean(&self) -> Result<bool>

fn GetArray(&self) -> Result<JsonArray>

fn GetObject(&self) -> Result<JsonObject>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§