pub struct Client { /* private fields */ }Implementations§
Source§impl Client
impl Client
pub fn new(config: SdkConfig) -> Self
pub fn from_endpoints(endpoints: EndpointConfig) -> Self
pub fn config(&self) -> &SdkConfig
pub fn endpoints(&self) -> &EndpointConfig
pub fn prepare(&self, operation: &'static Operation) -> PreparedRequest
pub fn prepare_with_path( &self, operation: &'static Operation, path_params: &[(&str, &str)], ) -> PreparedRequest
pub fn prepare_call( &self, operation: &'static Operation, options: CallOptions, ) -> Result<PreparedRequest, SdkError>
pub fn prepare_call_with_path( &self, operation: &'static Operation, path_params: &[(&str, &str)], options: CallOptions, ) -> Result<PreparedRequest, SdkError>
pub fn prepare_json( &self, operation: &'static Operation, body: JsonValue, options: CallOptions, ) -> Result<PreparedRequest, SdkError>
pub fn prepare_json_with_path( &self, operation: &'static Operation, path_params: &[(&str, &str)], body: JsonValue, options: CallOptions, ) -> Result<PreparedRequest, SdkError>
Trait Implementations§
impl Eq for Client
impl StructuralPartialEq for Client
Auto Trait Implementations§
impl Freeze for Client
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin 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