pub struct FieldsConfig {
pub capture_tool_name: bool,
pub capture_resource_uri: bool,
pub capture_prompt_name: bool,
pub capture_arguments_hash: bool,
pub capture_full_arguments: bool,
pub capture_user_id: bool,
pub capture_client_type: bool,
pub capture_client_version: bool,
pub capture_client_ip: bool,
pub capture_session_id: bool,
pub capture_response_size: bool,
pub capture_error_details: bool,
}Available on non-WebAssembly only.
Expand description
Field capture configuration.
Fields§
§capture_tool_name: boolCapture tool names in logs.
capture_resource_uri: boolCapture resource URIs in logs.
capture_prompt_name: boolCapture prompt names in logs.
capture_arguments_hash: boolCapture argument hashes (for correlation without exposing data).
capture_full_arguments: boolCapture full arguments (privacy-sensitive, use with caution).
capture_user_id: boolCapture user ID from AuthContext.
capture_client_type: boolCapture client type.
capture_client_version: boolCapture client version.
capture_client_ip: boolCapture client IP (privacy-sensitive, default off).
capture_session_id: boolCapture session ID.
capture_response_size: boolCapture response size.
capture_error_details: boolCapture error details.
Trait Implementations§
Source§impl Clone for FieldsConfig
impl Clone for FieldsConfig
Source§fn clone(&self) -> FieldsConfig
fn clone(&self) -> FieldsConfig
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 FieldsConfig
impl Debug for FieldsConfig
Source§impl Default for FieldsConfig
impl Default for FieldsConfig
Source§impl<'de> Deserialize<'de> for FieldsConfigwhere
FieldsConfig: Default,
impl<'de> Deserialize<'de> for FieldsConfigwhere
FieldsConfig: Default,
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
Auto Trait Implementations§
impl Freeze for FieldsConfig
impl RefUnwindSafe for FieldsConfig
impl Send for FieldsConfig
impl Sync for FieldsConfig
impl Unpin for FieldsConfig
impl UnsafeUnpin for FieldsConfig
impl UnwindSafe for FieldsConfig
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