pub struct AdminAuditRow {
pub microapp_id: String,
pub method: String,
pub capability: String,
pub args_hash: String,
pub started_at_ms: u64,
pub result: AdminAuditResult,
pub duration_ms: u64,
pub tenant_id: Option<String>,
}Expand description
One row of microapp_admin_audit. Stable wire shape — every
field is present in the JSON payload returned by
nexo/admin/microapp_audit/tail.
Fields§
§microapp_id: StringMicroapp identity (extension id from extensions.yaml).
method: StringFull JSON-RPC method (nexo/admin/<domain>/<method>).
capability: StringRequired capability (e.g. agents_crud). When the call
was denied, this is the capability that was missing.
args_hash: StringSHA-256 of canonicalised params (sorted keys). Lets operators detect repeated identical calls without storing PII payloads.
started_at_ms: u64Epoch milliseconds when dispatch started.
result: AdminAuditResult"ok" | "error" | "denied".
duration_ms: u64Wall-clock duration of the dispatch.
tenant_id: Option<String>Tenant scope for the call. Sniffed from
params.tenant_id (string) when present; legacy rows /
non-tenant-scoped calls (echo, pairing, credentials)
leave it null.
Trait Implementations§
Source§impl Clone for AdminAuditRow
impl Clone for AdminAuditRow
Source§fn clone(&self) -> AdminAuditRow
fn clone(&self) -> AdminAuditRow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdminAuditRow
impl Debug for AdminAuditRow
Source§impl<'de> Deserialize<'de> for AdminAuditRow
impl<'de> Deserialize<'de> for AdminAuditRow
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AdminAuditRow, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AdminAuditRow, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AdminAuditRow
impl PartialEq for AdminAuditRow
Source§impl Serialize for AdminAuditRow
impl Serialize for AdminAuditRow
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AdminAuditRow
Auto Trait Implementations§
impl Freeze for AdminAuditRow
impl RefUnwindSafe for AdminAuditRow
impl Send for AdminAuditRow
impl Sync for AdminAuditRow
impl Unpin for AdminAuditRow
impl UnsafeUnpin for AdminAuditRow
impl UnwindSafe for AdminAuditRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more