pub struct ApiConfig {
pub api_key: String,
pub client_id: String,
pub client_version: String,
pub base_url: String,
pub proxy_url: Option<String>,
pub request_timeout: Duration,
}
Expand description
Configuration for the Safe Browsing API client
Fields§
§api_key: String
The API key for authenticating with the Safe Browsing API
client_id: String
Client ID to identify the client to the API
client_version: String
Client version string
base_url: String
Base URL for the Safe Browsing API
proxy_url: Option<String>
Optional HTTP proxy URL
request_timeout: Duration
Request timeout duration
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApiConfig
impl RefUnwindSafe for ApiConfig
impl Send for ApiConfig
impl Sync for ApiConfig
impl Unpin for ApiConfig
impl UnwindSafe for ApiConfig
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