pub struct Client { /* private fields */ }
Expand description
Configure an api client to perform requests
Implementations§
Source§impl Client
impl Client
pub fn new() -> Self
pub fn api_key(self, api_key: &str) -> Self
pub fn host(self, host: &str) -> Self
pub fn auth(&self) -> AuthService
pub fn block(&self) -> BlockService
pub fn cart(&self) -> CartService
pub fn call_request(&self) -> Service<Authenticated>
pub fn category(&self) -> CategoryService
pub fn discussion(&self) -> Service<Authenticated>
pub fn language(&self) -> Service<Authenticated>
pub fn langvars(&self) -> Service<Authenticated>
pub fn order(&self) -> OrderService
pub fn page(&self) -> Service<Authenticated>
pub fn payment_method(&self) -> Service<Authenticated>
pub fn product(&self) -> ProductService
pub fn product_feature(&self) -> Service<Authenticated>
pub fn product_option(&self) -> Service<Authenticated>
pub fn settings(&self) -> Service<Authenticated>
pub fn shipment(&self) -> Service<Authenticated>
pub fn shipment_method(&self) -> Service<Authenticated>
pub fn status(&self) -> Service<Authenticated>
pub fn tax(&self) -> Service<Authenticated>
pub fn user(&self) -> UserService
pub fn user_group(&self) -> Service<Authenticated>
pub fn vendor(&self) -> VendorService
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
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