pub struct RecordParams {
pub tool_name: String,
pub server_id: String,
pub agent_id: String,
pub bytes_read: u64,
pub bytes_written: u64,
pub delegation_depth: u32,
pub allowed: bool,
}Expand description
Parameters for recording a journal entry.
Fields§
§tool_name: StringThe tool that was invoked.
server_id: StringThe server hosting the tool.
agent_id: StringThe agent making the request.
bytes_read: u64Bytes read during this invocation.
bytes_written: u64Bytes written during this invocation.
delegation_depth: u32Current delegation depth.
allowed: boolWhether the invocation was allowed.
Trait Implementations§
Source§impl Clone for RecordParams
impl Clone for RecordParams
Source§fn clone(&self) -> RecordParams
fn clone(&self) -> RecordParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RecordParams
impl RefUnwindSafe for RecordParams
impl Send for RecordParams
impl Sync for RecordParams
impl Unpin for RecordParams
impl UnsafeUnpin for RecordParams
impl UnwindSafe for RecordParams
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