Struct smarty_rust_sdk::international_autocomplete_api::client::InternationalAutocompleteClient
source · pub struct InternationalAutocompleteClient { /* private fields */ }
Implementations§
source§impl InternationalAutocompleteClient
impl InternationalAutocompleteClient
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 InternationalAutocompleteClient
impl !RefUnwindSafe for InternationalAutocompleteClient
impl Send for InternationalAutocompleteClient
impl Sync for InternationalAutocompleteClient
impl Unpin for InternationalAutocompleteClient
impl !UnwindSafe for InternationalAutocompleteClient
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