pub struct AuditLog {
pub workspace_id: String,
pub id: i32,
pub timestamp: String,
pub username: String,
pub operation: Operation,
pub action_kind: ActionKind,
pub resource: Option<String>,
pub parameters: Option<Value>,
pub span: Option<String>,
pub client_ip: Option<String>,
pub user_agent: Option<String>,
}Fields§
§workspace_id: String§id: i32§timestamp: String§username: String§operation: Operation§action_kind: ActionKind§resource: Option<String>§parameters: Option<Value>§span: Option<String>§client_ip: Option<String>Address of the client that made the request. Forwarding headers are believed only from the proxies listed in the TRUSTED_PROXIES environment variable (loopback by default, plus the private ranges on Windmill Cloud), so behind a reverse proxy this is the proxy’s address until it is listed. Absent on entries no request stands behind.
user_agent: Option<String>User-Agent header of the request.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuditLog
impl<'de> Deserialize<'de> for AuditLog
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for AuditLog
Auto Trait Implementations§
impl Forget for AuditLog
impl Freeze for AuditLog
impl Move for AuditLog
impl RefUnwindSafe for AuditLog
impl Send for AuditLog
impl Sync for AuditLog
impl Unpin for AuditLog
impl UnsafeUnpin for AuditLog
impl UnwindSafe for AuditLog
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more