mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
State refactor complete, fixing tests ...
This commit is contained in:
parent
00a58bbda3
commit
a064f87076
|
@ -131,7 +131,9 @@ pub struct EntryInvalid; // Modified
|
|||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
pub struct Entry<VALID, STATE> {
|
||||
#[serde(default = "EntryInvalid")]
|
||||
valid: VALID,
|
||||
#[serde(default = "EntryNew")]
|
||||
state: STATE,
|
||||
pub id: Option<i64>,
|
||||
// Flag if we have been schema checked or not.
|
||||
|
|
Loading…
Reference in a new issue