Module utils

Module utils 

Source
Expand description

Utility functions for working with Tushare API responses

Functionsยง

get_bool_field
Helper function to get boolean field value
get_field_value
Helper function to get field value by name
get_float_field
Helper function to get float field value
get_int_field
Helper function to get integer field value
get_optional_bool_field
Helper function to get optional boolean field value
get_optional_float_field
Helper function to get optional float field value
get_optional_int_field
Helper function to get optional integer field value
get_optional_string_field
Helper function to get optional string field value
get_string_field
Helper function to get string field value
response_to_vec
Convert TushareResponse to Vec<T> where T implements FromTushareData