Signer

Trait Signer 

Source
pub trait Signer {
    // Required methods
    fn GetName(&self) -> String;
    fn GetType(&self) -> String;
    fn GetVersion(&self) -> String;
    fn GetAccessKeyId(&self) -> AliyunResult<String>;
    fn GetExtraParam(&self) -> Option<HashMap<String, String>>;
    fn Sign(&self, stringToSign: &str, secretSuffix: &str) -> String;
}

Required Methods§

Source

fn GetName(&self) -> String

Source

fn GetType(&self) -> String

Source

fn GetVersion(&self) -> String

Source

fn GetAccessKeyId(&self) -> AliyunResult<String>

Source

fn GetExtraParam(&self) -> Option<HashMap<String, String>>

Source

fn Sign(&self, stringToSign: &str, secretSuffix: &str) -> String

Implementors§