RpcRequest

Struct RpcRequest 

Source
pub struct RpcRequest { /* private fields */ }

Implementations§

Source§

impl RpcRequest

Source

pub fn InitWithApiInfo( &mut self, product: &str, version: &str, action: &str, serviceCode: &str, endpointType: &str, )

Source

pub fn GetStyle(&self) -> String

Source

pub fn GetMethod(&self) -> Method

Source

pub fn BuildUrl(&mut self) -> String

Source

pub fn BuildQueries(&mut self) -> String

Source

pub fn GetBodyReader(&self) -> Builder

Trait Implementations§

Source§

impl BaseRequestExt for RpcRequest

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 RpcRequest

Source§

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

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

impl Default for RpcRequest

Source§

fn default() -> RpcRequest

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