BaseRequest

Struct 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: 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: String

Implementations§

Trait Implementations§

Source§

impl BaseRequestExt for BaseRequest

Source§

fn base(&self) -> &BaseRequest

Source§

fn base_as_mut(&mut self) -> &mut BaseRequest

Source§

fn GetQueryParams(&self) -> &HashMap<String, String>

Source§

fn GetFormParams(&self) -> &HashMap<String, String>

Source§

fn GetHTTPSInsecure(&self) -> bool

Source§

fn SetHTTPSInsecure(&mut self, isInsecure: bool)

Source§

fn GetContent(&self) -> &[u8]

Source§

fn SetContent(&mut self, content: &[u8])

Source§

fn SetVersion(&mut self, version: &str)

Source§

fn GetVersion(&self) -> &str

Source§

fn GetActionName(&self) -> &str

Source§

fn SetActionName(&mut self, actionName: &str)

Source§

fn GetUserAgent(&self) -> &HashMap<String, String>

Source§

fn AppendUserAgent(&mut self, key: &str, value: &str)

Source§

fn addHeaderParam(&mut self, key: &str, value: &str)

Source§

fn Hearder_as_mut(&mut self) -> &mut HashMap<String, String>

Source§

fn addQueryParam(&mut self, key: &str, value: &str)

Source§

fn QueryParams_as_mut(&mut self) -> &mut HashMap<String, String>

Source§

fn addFormParam(&mut self, key: &str, value: &str)

Source§

fn FormParams_as_mut(&mut self) -> &mut HashMap<String, String>

Source§

fn GetAcceptFormat(&self) -> &str

Source§

fn GetLocationServiceCode(&self) -> &str

Source§

fn SetLocationServiceCode(&mut self, locationServiceCode: &str)

Source§

fn GetLocationEndpointType(&self) -> &str

Source§

fn SetLocationEndpointType(&mut self, locationEndpointType: &str)

Source§

fn GetProduct(&self) -> &str

Source§

fn SetProduct(&mut self, product: &str)

Source§

fn GetScheme(&self) -> &str

Source§

fn SetScheme(&mut self, scheme: &str)

Source§

fn GetMethod(&self) -> &str

Source§

fn SetMethod(&mut self, method: &str)

Source§

fn GetDomain(&self) -> &str

Source§

fn SetDomain(&mut self, host: &str)

Source§

fn GetPort(&self) -> &str

Source§

fn GetRegionId(&self) -> &str

Source§

fn GetHeaders(&self) -> &HashMap<String, String>

Source§

fn SetContentType(&mut self, contentType: &str)

Source§

fn GetContentType(&self) -> Option<&str>

Source§

fn GetQueries(&self) -> &str

Source§

fn SetQueries(&mut self, queries: &str)

Source§

fn SetStringToSign(&mut self, stringToSign: &str)

Source§

fn GetStringToSign(&self) -> &str

Source§

impl Debug for BaseRequest

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for BaseRequest

Source§

fn default() -> BaseRequest

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V