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: String§Method: String§Domain: String§Port: String§RegionId: String§isInsecure: bool§userAgent: HashMap<String, String>§product: String§version: String§actionName: String§AcceptFormat: String§QueryParams: HashMap<String, String>§Headers: HashMap<String, String>§FormParams: HashMap<String, String>§Content: Vec<u8>§locationServiceCode: String§locationEndpointType: String§queries: String§stringToSign: StringImplementations§
Source§impl BaseRequest
impl BaseRequest
pub fn defaultBaseRequest() -> Self
Trait Implementations§
Source§impl 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] ⓘ
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
Source§impl Debug for BaseRequest
impl Debug for BaseRequest
Source§impl Default for BaseRequest
impl Default for BaseRequest
Source§fn default() -> BaseRequest
fn default() -> BaseRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BaseRequest
impl RefUnwindSafe for BaseRequest
impl Send for BaseRequest
impl Sync for BaseRequest
impl Unpin for BaseRequest
impl UnwindSafe for BaseRequest
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