mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2025-06-11 02:43:20 +02:00
Make auditlog log
This commit is contained in:
@ -31,6 +31,7 @@ pub struct State {
|
||||
pub inner: MachineState,
|
||||
}
|
||||
|
||||
|
||||
impl fmt::Debug for State {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
let mut sf = f.debug_struct("State");
|
||||
@ -42,6 +43,12 @@ impl fmt::Debug for State {
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Display for ArchivedState {
|
||||
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
|
||||
Display::fmt(&self.inner, f)
|
||||
}
|
||||
}
|
||||
|
||||
impl serde::Serialize for State {
|
||||
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
|
||||
where S: serde::Serializer
|
||||
|
Reference in New Issue
Block a user