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
GetApplicationConfig(GetApplicationConfig)
Returns application config, provided by the server. Can be called before authorization
GetJsonValue(GetJsonValue)
Converts a JSON-serialized string to corresponding JsonValue object. Can be called synchronously
Array(JsonValueArray)
Represents a JSON array
Boolean(JsonValueBoolean)
Represents a boolean JSON value
Null(JsonValueNull)
Represents a null JSON value
Number(JsonValueNumber)
Represents a numeric JSON value
Object(JsonValueObject)
Represents a JSON object
String(JsonValueString)
Represents a string JSON value
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for JsonValue
impl UnwindSafe for JsonValue
Blanket Implementations
Mutably borrows from an owned value. Read more