Commit 187aeee 1 parent dac5026 commit 187aeee Copy full SHA for 187aeee
File tree 4 files changed +472
-6
lines changed
4 files changed +472
-6
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,15 @@ pub enum BlockElement<'a> {
92
92
93
93
#[ serde( rename = "multi_static_select" ) ]
94
94
MultiSelectStatic ( select:: multi:: Static < ' a > ) ,
95
+
96
+ #[ serde( rename = "multi_static_user" ) ]
97
+ MultiSelectUser ( select:: multi:: User < ' a > ) ,
98
+
99
+ #[ serde( rename = "multi_static_external" ) ]
100
+ MultiSelectExternal ( select:: multi:: External < ' a > ) ,
101
+
102
+ #[ serde( rename = "multi_static_conversation" ) ]
103
+ MultiSelectConversation ( select:: multi:: Conversation < ' a > ) ,
95
104
}
96
105
97
106
impl < ' a > BlockElement < ' a > {
@@ -135,3 +144,6 @@ convert!(impl<'a> From<select::Conversation<'a>> for BlockElement<'a> => |s| Blo
135
144
convert ! ( impl <' a> From <select:: User <' a>> for BlockElement <' a> => |s| BlockElement :: SelectUser ( s) ) ;
136
145
137
146
convert ! ( impl <' a> From <select:: multi:: Static <' a>> for BlockElement <' a> => |s| BlockElement :: MultiSelectStatic ( s) ) ;
147
+ convert ! ( impl <' a> From <select:: multi:: User <' a>> for BlockElement <' a> => |s| BlockElement :: MultiSelectUser ( s) ) ;
148
+ convert ! ( impl <' a> From <select:: multi:: Conversation <' a>> for BlockElement <' a> => |s| BlockElement :: MultiSelectConversation ( s) ) ;
149
+ convert ! ( impl <' a> From <select:: multi:: External <' a>> for BlockElement <' a> => |s| BlockElement :: MultiSelectExternal ( s) ) ;
You can’t perform that action at this time.
0 commit comments