mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
chore(cli): cli code update
This commit is contained in:
@@ -117,7 +117,7 @@ impl<'n, 'a> Engine<'n, 'a> {
|
||||
continue;
|
||||
}
|
||||
|
||||
let type_info =
|
||||
let type_info: Option<(&'static str, JsonTypeInfo)> =
|
||||
match &temp_cursor.to_string()[..] {
|
||||
"allow-external-members" => Some(("allowExternalMembers", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
|
||||
"who-can-post-message" => Some(("whoCanPostMessage", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
|
||||
@@ -229,7 +229,7 @@ impl<'n, 'a> Engine<'n, 'a> {
|
||||
continue;
|
||||
}
|
||||
|
||||
let type_info =
|
||||
let type_info: Option<(&'static str, JsonTypeInfo)> =
|
||||
match &temp_cursor.to_string()[..] {
|
||||
"allow-external-members" => Some(("allowExternalMembers", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
|
||||
"who-can-post-message" => Some(("whoCanPostMessage", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
|
||||
|
||||
Reference in New Issue
Block a user