File tree 2 files changed +4
-1
lines changed
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 {
391
391
}
392
392
}
393
393
394
- const LIST_SYM_OPEN : u8 = 0x09 ;
394
+ const LIST_SYM_OPEN : u8 = 0x07 ;
395
395
const LIST_SYM_CLOSE : u8 = ']' as u8 ;
396
396
397
397
/// A list type representing a Skyhash list type, used in parameter lists
398
+ #[ derive( Debug , PartialEq , Clone ) ]
398
399
pub struct QList < ' a , T : SQParam > {
399
400
l : & ' a [ T ] ,
400
401
}
@@ -428,4 +429,5 @@ fn list_param() {
428
429
list
429
430
) ;
430
431
assert_eq ! ( q. param_cnt( ) , 3 ) ;
432
+ dbg ! ( String :: from_utf8( q. debug_encode_packet( ) ) ) . unwrap ( ) ;
431
433
}
Original file line number Diff line number Diff line change @@ -407,6 +407,7 @@ impl<T: FromRow> Deref for Rows<T> {
407
407
}
408
408
409
409
/// A list received from a response
410
+ #[ derive( Debug , PartialEq , Clone ) ]
410
411
pub struct RList < T : FromValue = Value > ( Vec < T > ) ;
411
412
412
413
impl < T : FromValue > RList < T > {
You can’t perform that action at this time.
0 commit comments