Struct alibaba_cloud_sdk_rust::sdk::requests::BaseRequest
source · [−]pub struct BaseRequest {Show 19 fields
pub Scheme: String,
pub Method: String,
pub Domain: String,
pub Port: String,
pub RegionId: String,
pub isInsecure: bool,
pub userAgent: HashMap<String, String>,
pub product: String,
pub version: String,
pub actionName: String,
pub AcceptFormat: String,
pub QueryParams: HashMap<String, String>,
pub Headers: HashMap<String, String>,
pub FormParams: HashMap<String, String>,
pub Content: Vec<u8>,
pub locationServiceCode: String,
pub locationEndpointType: String,
pub queries: String,
pub stringToSign: String,
}Fields
Scheme: StringMethod: StringDomain: StringPort: StringRegionId: StringisInsecure: booluserAgent: HashMap<String, String>product: Stringversion: StringactionName: StringAcceptFormat: StringQueryParams: HashMap<String, String>Headers: HashMap<String, String>FormParams: HashMap<String, String>Content: Vec<u8>locationServiceCode: StringlocationEndpointType: Stringqueries: StringstringToSign: StringImplementations
sourceimpl BaseRequest
impl BaseRequest
pub fn defaultBaseRequest() -> Self
Trait Implementations
sourceimpl BaseRequestExt for BaseRequest
impl BaseRequestExt for BaseRequest
fn base(&self) -> &BaseRequest
fn base_as_mut(&mut self) -> &mut BaseRequest
fn GetQueryParams(&self) -> &HashMap<String, String>
fn GetFormParams(&self) -> &HashMap<String, String>
fn GetHTTPSInsecure(&self) -> bool
fn SetHTTPSInsecure(&mut self, isInsecure: bool)
fn GetContent(&self) -> &[u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
fn SetContent(&mut self, content: &[u8])
fn SetVersion(&mut self, version: &str)
fn GetVersion(&self) -> &str
fn GetActionName(&self) -> &str
fn SetActionName(&mut self, actionName: &str)
fn GetUserAgent(&self) -> &HashMap<String, String>
fn AppendUserAgent(&mut self, key: &str, value: &str)
fn addHeaderParam(&mut self, key: &str, value: &str)
fn Hearder_as_mut(&mut self) -> &mut HashMap<String, String>
fn addQueryParam(&mut self, key: &str, value: &str)
fn QueryParams_as_mut(&mut self) -> &mut HashMap<String, String>
fn addFormParam(&mut self, key: &str, value: &str)
fn FormParams_as_mut(&mut self) -> &mut HashMap<String, String>
fn GetAcceptFormat(&self) -> &str
fn GetLocationServiceCode(&self) -> &str
fn SetLocationServiceCode(&mut self, locationServiceCode: &str)
fn GetLocationEndpointType(&self) -> &str
fn SetLocationEndpointType(&mut self, locationEndpointType: &str)
fn GetProduct(&self) -> &str
fn SetProduct(&mut self, product: &str)
fn GetScheme(&self) -> &str
fn SetScheme(&mut self, scheme: &str)
fn GetMethod(&self) -> &str
fn SetMethod(&mut self, method: &str)
fn GetDomain(&self) -> &str
fn SetDomain(&mut self, host: &str)
fn GetPort(&self) -> &str
fn GetRegionId(&self) -> &str
fn GetHeaders(&self) -> &HashMap<String, String>
fn SetContentType(&mut self, contentType: &str)
fn GetContentType(&self) -> Option<&str>
fn GetQueries(&self) -> &str
fn SetQueries(&mut self, queries: &str)
fn SetStringToSign(&mut self, stringToSign: &str)
fn GetStringToSign(&self) -> &str
sourceimpl Debug for BaseRequest
impl Debug for BaseRequest
sourceimpl Default for BaseRequest
impl Default for BaseRequest
sourcefn default() -> BaseRequest
fn default() -> BaseRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for BaseRequest
impl Send for BaseRequest
impl Sync for BaseRequest
impl Unpin for BaseRequest
impl UnwindSafe for BaseRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more