pub struct NewEntry {
pub org: Option<String>,
pub actor: Actor,
pub origin: Origin,
pub action: String,
pub target: Option<String>,
pub details: Value,
pub outcome: String,
}Expand description
A row to append. details must hold only names and identifiers: the
log never redacts, it only stores what it is given.
Fields§
§org: Option<String>None: platform level (sign-ins, users, org creation).
actor: Actor§origin: Origin§action: StringA tool name, or auth.*, terminal.*, webhook.*.
target: Option<String>§details: ValueA flat object of whitelisted keys.
outcome: Stringok, or an error code (forbidden, not_found, invalid, …).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NewEntry
impl RefUnwindSafe for NewEntry
impl Send for NewEntry
impl Sync for NewEntry
impl Unpin for NewEntry
impl UnsafeUnpin for NewEntry
impl UnwindSafe for NewEntry
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