ExtractCommonParams

Trait ExtractCommonParams 

Source
pub trait ExtractCommonParams {
    // Required methods
    fn action(&self) -> &'static str;
    fn body(&self) -> Vec<u8> ;

    // Provided methods
    fn url(&self) -> &'static str { ... }
    fn version(&self) -> Version { ... }
    fn region(&self) -> Option<Region> { ... }
    fn headers(
        &self,
        secret_id: &impl AsRef<str>,
        secret_key: &impl AsRef<str>,
    ) -> HashMap<String, String> { ... }
}

Required Methods§

Source

fn action(&self) -> &'static str

Source

fn body(&self) -> Vec<u8>

Provided Methods§

Source

fn url(&self) -> &'static str

Source

fn version(&self) -> Version

Source

fn region(&self) -> Option<Region>

Source

fn headers( &self, secret_id: &impl AsRef<str>, secret_key: &impl AsRef<str>, ) -> HashMap<String, String>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§