@@ -12,6 +12,7 @@ use time::OffsetDateTime;
1212 serde( rename_all = "camelCase" )
1313) ]
1414#[ derive( Debug , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
15+ #[ non_exhaustive]
1516pub struct RegenerateResponse {
1617 pub account_id : u64 ,
1718 pub license_id : u32 ,
@@ -27,6 +28,7 @@ pub struct RegenerateResponse {
2728 serde( rename_all = "camelCase" )
2829) ]
2930#[ derive( Debug , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
31+ #[ non_exhaustive]
3032pub struct Verify {
3133 pub license_key : String ,
3234}
@@ -38,6 +40,7 @@ pub struct Verify {
3840 serde( rename_all = "camelCase" )
3941) ]
4042#[ derive( Debug , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
43+ #[ non_exhaustive]
4144pub struct VerifyResponse {
4245 pub valid : bool ,
4346 pub license_id : Option < u32 > ,
@@ -59,6 +62,7 @@ pub struct VerifyResponse {
5962 serde( rename_all = "camelCase" )
6063) ]
6164#[ derive( Debug , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
65+ #[ non_exhaustive]
6266pub struct View ( pub Vec < ViewOne > ) ;
6367
6468/// Representation of a single license associated with an account.
@@ -70,6 +74,7 @@ pub struct View(pub Vec<ViewOne>);
7074 serde( rename_all = "camelCase" )
7175) ]
7276#[ derive( Debug , Clone , PartialEq , Eq , PartialOrd , Ord , Hash ) ]
77+ #[ non_exhaustive]
7378pub struct ViewOne {
7479 pub id : u32 ,
7580 pub account_id : u64 ,
0 commit comments