pub struct WaitHumanConfig {
pub api_key: String,
pub endpoint: Option<String>,
}Expand description
Configuration for the WaitHuman client
Fields§
§api_key: StringYour WaitHuman API key (mandatory)
endpoint: Option<String>Optional custom endpoint URL. Defaults to ‘https://api.waithuman.com’
Implementations§
Trait Implementations§
Source§impl Clone for WaitHumanConfig
impl Clone for WaitHumanConfig
Source§fn clone(&self) -> WaitHumanConfig
fn clone(&self) -> WaitHumanConfig
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 moreAuto Trait Implementations§
impl Freeze for WaitHumanConfig
impl RefUnwindSafe for WaitHumanConfig
impl Send for WaitHumanConfig
impl Sync for WaitHumanConfig
impl Unpin for WaitHumanConfig
impl UnwindSafe for WaitHumanConfig
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