Enum rust_tdlib::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
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for JsonValue
impl UnwindSafe for JsonValue
Blanket Implementations
Mutably borrows from an owned value. Read more