pub struct Config {
pub api_key: String,
pub base_url: String,
pub timeout: Duration,
}Expand description
LTFI-WSAP API client configuration
Fields§
§api_key: StringAPI key for authentication
base_url: StringBase URL for the API (defaults to https://api.ltfi.ai)
timeout: DurationRequest timeout duration
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 UnsafeUnpin 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