pub struct Config {
pub api_key: String,
pub base_url: Option<String>,
pub timeout_seconds: Option<u64>,
}Expand description
Configuration for the Reality Defender client
Fields§
§api_key: StringAPI key for authentication
base_url: Option<String>Base URL for the API
timeout_seconds: Option<u64>Timeout in seconds for HTTP requests
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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