Struct aliyun_openapi_core_rust_sdk::ROAClient
source · pub struct ROAClient { /* private fields */ }👎Deprecated since 1.0.0: Please use the
aliyun_openapi_core_rust_sdk::client::roa::ROAClient insteadExpand description
The roa 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 roa style api client.
sourcepub fn execute(&self, method: &str, uri: &str) -> RequestBuilder<'_>
pub fn execute(&self, method: &str, uri: &str) -> RequestBuilder<'_>
Create a request with the method and uri.
Returns a RequestBuilder for send request.
sourcepub fn get(&self, uri: &str) -> RequestBuilder<'_>
pub fn get(&self, uri: &str) -> RequestBuilder<'_>
Create a GET request with the uri.
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