mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2025-06-11 19:03:21 +02:00
Make auditlog log
This commit is contained in:
@ -3,6 +3,7 @@ use lmdb::Environment;
|
||||
use once_cell::sync::OnceCell;
|
||||
use rkyv::{Archive, Deserialize, Infallible, Serialize};
|
||||
use std::collections::HashMap;
|
||||
use std::fmt::{Display, Formatter, Write};
|
||||
use std::ops::Deref;
|
||||
use std::path::Path;
|
||||
use std::sync::Arc;
|
||||
@ -41,6 +42,12 @@ impl PartialEq<UserRef> for ArchivedUserRef {
|
||||
}
|
||||
}
|
||||
|
||||
impl Display for ArchivedUserRef {
|
||||
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
|
||||
f.write_str(self.id.as_str())
|
||||
}
|
||||
}
|
||||
|
||||
impl UserRef {
|
||||
pub fn new(id: String) -> Self {
|
||||
UserRef { id }
|
||||
|
Reference in New Issue
Block a user