File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change 1
- use chrono:: serde:: { ts_milliseconds, ts_milliseconds_option} ;
2
1
use chrono:: { DateTime , Utc } ;
3
2
use serde:: { Deserialize , Serialize } ;
4
3
@@ -36,7 +35,6 @@ pub struct AdUnit {
36
35
/// user address from the session
37
36
pub owner : ValidatorId ,
38
37
/// number, UTC timestamp in milliseconds, used as nonce for escaping duplicated spec ipfs hashes
39
- #[ serde( with = "ts_milliseconds" ) ]
40
38
pub created : DateTime < Utc > ,
41
39
/// the name of the unit used in platform UI
42
40
pub title : Option < String > ,
@@ -46,6 +44,5 @@ pub struct AdUnit {
46
44
#[ serde( default ) ]
47
45
pub archived : bool ,
48
46
/// UTC timestamp in milliseconds, changed every time modifiable property is changed
49
- #[ serde( default , with = "ts_milliseconds_option" ) ]
50
47
pub modified : Option < DateTime < Utc > > ,
51
48
}
You can’t perform that action at this time.
0 commit comments