Enum rtdlib::types::JsonValue [−][src]
pub enum JsonValue {
GetApplicationConfig(GetApplicationConfig),
GetJsonValue(GetJsonValue),
Array(JsonValueArray),
Boolean(JsonValueBoolean),
Null(JsonValueNull),
Number(JsonValueNumber),
Object(JsonValueObject),
String(JsonValueString),
// some variants omitted
}
Expand description
Represents a JSON value
Variants
Returns application config, provided by the server. Can be called before authorization
Tuple Fields of GetApplicationConfig
Converts a JSON-serialized string to corresponding JsonValue object. This is an offline method. Can be called before authorization. Can be called synchronously
Tuple Fields of GetJsonValue
0: GetJsonValue
Represents a JSON array
Tuple Fields of Array
Represents a boolean JSON value
Tuple Fields of Boolean
Represents a null JSON value
Tuple Fields of Null
Represents a numeric JSON value
Tuple Fields of Number
Represents a JSON object
Tuple Fields of Object
Represents a string JSON value
Tuple Fields of String
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for JsonValue
impl UnwindSafe for JsonValue
Blanket Implementations
Mutably borrows from an owned value. Read more