Struct aliyun_openapi_core_rust_sdk::RPClient
source · pub struct RPClient { /* private fields */ }
👎Deprecated since 1.0.0: Please use the
aliyun_openapi_core_rust_sdk::client::rpc::RPClient
insteadExpand description
The rpc style api client.
Implementations§
source§impl Client
impl Client
sourcepub fn new(
access_key_id: String,
access_key_secret: String,
endpoint: String,
version: String
) -> Self
pub fn new( access_key_id: String, access_key_secret: String, endpoint: String, version: String ) -> Self
Create a rpc style api client.
sourcepub fn get(&self, action: &str) -> RequestBuilder<'_>
pub fn get(&self, action: &str) -> RequestBuilder<'_>
Create a GET
request with the action
.
Returns a RequestBuilder
for send request.
Trait Implementations§
Auto Trait Implementations§
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