File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -391,10 +391,11 @@ impl SQParam for String {
391391 }
392392}
393393
394- const LIST_SYM_OPEN : u8 = 0x09 ;
394+ const LIST_SYM_OPEN : u8 = 0x07 ;
395395const LIST_SYM_CLOSE : u8 = ']' as u8 ;
396396
397397/// A list type representing a Skyhash list type, used in parameter lists
398+ #[ derive( Debug , PartialEq , Clone ) ]
398399pub struct QList < ' a , T : SQParam > {
399400 l : & ' a [ T ] ,
400401}
@@ -428,4 +429,5 @@ fn list_param() {
428429 list
429430 ) ;
430431 assert_eq ! ( q. param_cnt( ) , 3 ) ;
432+ dbg ! ( String :: from_utf8( q. debug_encode_packet( ) ) ) . unwrap ( ) ;
431433}
Original file line number Diff line number Diff line change @@ -407,6 +407,7 @@ impl<T: FromRow> Deref for Rows<T> {
407407}
408408
409409/// A list received from a response
410+ #[ derive( Debug , PartialEq , Clone ) ]
410411pub struct RList < T : FromValue = Value > ( Vec < T > ) ;
411412
412413impl < T : FromValue > RList < T > {
You can’t perform that action at this time.
0 commit comments