Enum shuttle_core::StrKey
[−]
[src]
pub enum StrKey {
AccountId(Vec<u8>),
Seed(Vec<u8>),
PreAuthTx(Vec<u8>),
Sha256Hash(Vec<u8>),
}Variants
AccountId(Vec<u8>)Seed(Vec<u8>)PreAuthTx(Vec<u8>)Sha256Hash(Vec<u8>)
Methods
impl StrKey[src]
fn from_account_id(account_id: &str) -> Result<StrKey, Error>[src]
fn from_seed(seed: &str) -> Result<StrKey, Error>[src]
fn from_pre_auth_tx(pre_auth_tx: &str) -> Result<StrKey, Error>[src]
fn from_sha256_hash(hash: &str) -> Result<StrKey, Error>[src]
fn encode(&self) -> Result<String, Error>[src]
Trait Implementations
impl Debug for StrKey[src]
impl Clone for StrKey[src]
fn clone(&self) -> StrKey[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more