pub struct DocarooClient { /* private fields */ }
Expand description
Main client for interacting with the Docaroo API
Implementations§
Source§impl DocarooClient
impl DocarooClient
Sourcepub fn new(api_key: impl Into<String>) -> Self
pub fn new(api_key: impl Into<String>) -> Self
Create a new Docaroo client with the given API key
Sourcepub fn with_config(config: DocarooConfig) -> Self
pub fn with_config(config: DocarooConfig) -> Self
Create a new Docaroo client with custom configuration
Sourcepub fn pricing(&self) -> PricingClient
pub fn pricing(&self) -> PricingClient
Create a pricing client for in-network rates operations
Sourcepub fn procedures(&self) -> ProceduresClient
pub fn procedures(&self) -> ProceduresClient
Create a procedures client for likelihood operations
Trait Implementations§
Source§impl Clone for DocarooClient
impl Clone for DocarooClient
Source§fn clone(&self) -> DocarooClient
fn clone(&self) -> DocarooClient
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 DocarooClient
impl !RefUnwindSafe for DocarooClient
impl Send for DocarooClient
impl Sync for DocarooClient
impl Unpin for DocarooClient
impl !UnwindSafe for DocarooClient
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