admin_token_table: implement is_tombstone()
This commit is contained in:
parent
eb40475f1e
commit
325f79012c
1 changed files with 3 additions and 0 deletions
|
@ -139,6 +139,9 @@ impl Entry<EmptyKey, String> for AdminApiToken {
|
||||||
fn sort_key(&self) -> &String {
|
fn sort_key(&self) -> &String {
|
||||||
&self.prefix
|
&self.prefix
|
||||||
}
|
}
|
||||||
|
fn is_tombstone(&self) -> bool {
|
||||||
|
self.is_deleted()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct AdminApiTokenTable;
|
pub struct AdminApiTokenTable;
|
||||||
|
|
Loading…
Add table
Reference in a new issue