Struct alibaba_cloud_sdk_rust::sdk::requests::CommonRequest
source · [−]pub struct CommonRequest {
pub Version: String,
pub ApiName: String,
pub Product: String,
pub ServiceCode: String,
pub EndpointType: String,
pub PathPattern: String,
pub PathParams: HashMap<String, String>,
pub Ontology: AcsRequest,
/* private fields */
}Fields
Version: StringApiName: StringProduct: StringServiceCode: StringEndpointType: StringPathPattern: StringPathParams: HashMap<String, String>Ontology: AcsRequestTrait Implementations
sourceimpl BaseRequestExt for CommonRequest
impl BaseRequestExt for CommonRequest
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
Auto Trait Implementations
impl RefUnwindSafe for CommonRequest
impl Send for CommonRequest
impl Sync for CommonRequest
impl Unpin for CommonRequest
impl UnwindSafe for CommonRequest
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