pub struct DebugOptions {
pub enabled: bool,
pub log_requests: bool,
pub log_responses: bool,
}Expand description
Debug options for the search SDK
Fields§
§enabled: boolEnable verbose logging
log_requests: boolLog request details (URLs, headers, etc.)
log_responses: boolLog full responses
Trait Implementations§
Source§impl Clone for DebugOptions
impl Clone for DebugOptions
Source§fn clone(&self) -> DebugOptions
fn clone(&self) -> DebugOptions
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 moreSource§impl Debug for DebugOptions
impl Debug for DebugOptions
Source§impl Default for DebugOptions
impl Default for DebugOptions
Source§fn default() -> DebugOptions
fn default() -> DebugOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DebugOptions
impl RefUnwindSafe for DebugOptions
impl Send for DebugOptions
impl Sync for DebugOptions
impl Unpin for DebugOptions
impl UnwindSafe for DebugOptions
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