File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ pub struct Client {
50
50
plugin_name : String ,
51
51
}
52
52
53
+ #[ allow( dead_code) ]
53
54
#[ derive( Deserialize , Debug ) ]
54
55
struct Job {
55
56
status : u32 ,
Original file line number Diff line number Diff line change @@ -890,6 +890,7 @@ fn init_type_to_int<S: Serializer>(
890
890
serializer. serialize_i32 ( * i as i32 )
891
891
}
892
892
893
+ #[ allow( dead_code) ]
893
894
#[ derive( Deserialize , Debug , Clone ) ]
894
895
/// Represent a target port which is the front-end port of storage system which
895
896
/// storage user/client connect to and get storage service from.
@@ -951,6 +952,7 @@ fn int_to_port_type<'de, D: Deserializer<'de>>(
951
952
}
952
953
}
953
954
955
+ #[ allow( dead_code) ]
954
956
#[ derive( Deserialize , Debug , Clone ) ]
955
957
/// Represent a battery.
956
958
pub struct Battery {
Original file line number Diff line number Diff line change @@ -270,6 +270,7 @@ const ERROR_NUMBER_EMPTY_ACCESS_GROUP: i32 = 511;
270
270
const ERROR_NUMBER_POOL_NOT_READY : i32 = 512 ;
271
271
const ERROR_NUMBER_DISK_NOT_FREE : i32 = 513 ;
272
272
273
+ #[ allow( dead_code) ]
273
274
#[ derive( Deserialize , Debug ) ]
274
275
pub ( crate ) struct LsmErrorIpc {
275
276
pub ( crate ) code : i32 ,
You can’t perform that action at this time.
0 commit comments