@@ -382,8 +382,7 @@ mod cdt {
382
382
}
383
383
384
384
/// Array of data associated with three clients, indexed by `ClientId`
385
- #[ derive( Copy , Clone , Debug , Serialize , Deserialize , JsonSchema ) ]
386
- #[ serde( transparent) ]
385
+ #[ derive( Copy , Clone , Debug , Serialize , Deserialize ) ]
387
386
pub struct ClientData < T > ( [ T ; 3 ] ) ;
388
387
389
388
impl < T > std:: ops:: Index < ClientId > for ClientData < T > {
@@ -439,8 +438,7 @@ impl<T> ClientData<T> {
439
438
}
440
439
441
440
/// Map of data associated with clients, keyed by `ClientId`
442
- #[ derive( Copy , Clone , Debug , Serialize , Deserialize , JsonSchema ) ]
443
- #[ serde( transparent) ]
441
+ #[ derive( Copy , Clone , Debug ) ]
444
442
pub struct ClientMap < T > ( ClientData < Option < T > > ) ;
445
443
446
444
impl < T > ClientMap < T > {
@@ -1369,7 +1367,7 @@ impl IOop {
1369
1367
}
1370
1368
1371
1369
#[ allow( clippy:: derive_partial_eq_without_eq) ]
1372
- #[ derive( Debug , Clone , PartialEq , Serialize , Deserialize , JsonSchema ) ]
1370
+ #[ derive( Debug , Clone , PartialEq ) ]
1373
1371
pub enum ReconcileIOState {
1374
1372
// A new IO request.
1375
1373
New ,
@@ -1388,7 +1386,7 @@ pub enum ReconcileIOState {
1388
1386
* they operate independent of each other.
1389
1387
*/
1390
1388
#[ allow( clippy:: derive_partial_eq_without_eq) ]
1391
- #[ derive( Debug , Clone , PartialEq , Serialize , Deserialize , JsonSchema ) ]
1389
+ #[ derive( Debug , Clone , PartialEq ) ]
1392
1390
pub enum IOState {
1393
1391
/// The request has been sent to this tasks downstairs.
1394
1392
InProgress ,
0 commit comments