mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-02 01:20:02 +01:00
feat(config): basis for simplified value setting
Previously we would set static structures manully, using complex cases and utility functions. Now we setup the foundation to allow setting a generic `json::value::Value` instead, which can later be deserialized into the target structure. Related to #111
This commit is contained in:
@@ -199,6 +199,10 @@ impl FieldCursor {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn set_json_value(&self, object: &mut json::value::Value, value: &str, value_type: &str) {
|
||||
|
||||
}
|
||||
|
||||
pub fn num_fields(&self) -> usize {
|
||||
self.0.len()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user