pub struct USAutocompleteClient { /* private fields */ }
Implementations§
source§impl USAutocompleteClient
impl USAutocompleteClient
sourcepub fn new(options: Options) -> Result<Self, ParseError>
pub fn new(options: Options) -> Result<Self, ParseError>
Creates a new client with the given options
sourcepub fn new_custom_base_url(
base_url: Url,
options: Options,
) -> Result<Self, ParseError>
pub fn new_custom_base_url( base_url: Url, options: Options, ) -> Result<Self, ParseError>
Creates a new client with the given options that points to a different url.
Auto Trait Implementations§
impl Freeze for USAutocompleteClient
impl !RefUnwindSafe for USAutocompleteClient
impl Send for USAutocompleteClient
impl Sync for USAutocompleteClient
impl Unpin for USAutocompleteClient
impl !UnwindSafe for USAutocompleteClient
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