Trait fadroma::core::addr::Humanize

source ·
pub trait Humanize {
    type Output: Canonize;

    // Required method
    fn humanize(self, api: &dyn Api) -> StdResult<Self::Output>;
}
Expand description

The trait that represents the canonical version of the given type. See Canonize for more info.

Required Associated Types§

Required Methods§

source

fn humanize(self, api: &dyn Api) -> StdResult<Self::Output>

Implementations on Foreign Types§

source§

impl Humanize for usize

§

type Output = usize

source§

fn humanize(self, _api: &dyn Api) -> StdResult<Self::Output>

source§

impl Humanize for &[&CanonicalAddr]

§

type Output = Vec<Addr, Global>

source§

fn humanize(self, api: &dyn Api) -> StdResult<Self::Output>

source§

impl Humanize for char

§

type Output = char

source§

fn humanize(self, _api: &dyn Api) -> StdResult<Self::Output>

source§

impl Humanize for i64

§

type Output = i64

source§

fn humanize(self, _api: &dyn Api) -> StdResult<Self::Output>

source§

impl Humanize for isize

§

type Output = isize

source§

fn humanize(self, _api: &dyn Api) -> StdResult<Self::Output>

source§

impl Humanize for &[CanonicalAddr]

§

type Output = Vec<Addr, Global>

source§

fn humanize(self, api: &dyn Api) -> StdResult<Self::Output>

source§

impl Humanize for i8

§

type Output = i8

source§

fn humanize(self, _api: &dyn Api) -> StdResult<Self::Output>

source§

impl<T: Humanize> Humanize for Vec<T>

§

type Output = Vec<<T as Humanize>::Output, Global>

source§

fn humanize(self, api: &dyn Api) -> StdResult<Self::Output>

source§

impl Humanize for i16

§

type Output = i16

source§

fn humanize(self, _api: &dyn Api) -> StdResult<Self::Output>

source§

impl Humanize for bool

§

type Output = bool

source§

fn humanize(self, _api: &dyn Api) -> StdResult<Self::Output>

source§

impl Humanize for u32

§

type Output = u32

source§

fn humanize(self, _api: &dyn Api) -> StdResult<Self::Output>

source§

impl Humanize for u16

§

type Output = u16

source§

fn humanize(self, _api: &dyn Api) -> StdResult<Self::Output>

source§

impl<T: Humanize> Humanize for Option<T>

§

type Output = Option<<T as Humanize>::Output>

source§

fn humanize(self, api: &dyn Api) -> StdResult<Self::Output>

source§

impl Humanize for i128

§

type Output = i128

source§

fn humanize(self, _api: &dyn Api) -> StdResult<Self::Output>

source§

impl Humanize for u64

§

type Output = u64

source§

fn humanize(self, _api: &dyn Api) -> StdResult<Self::Output>

source§

impl Humanize for u128

§

type Output = u128

source§

fn humanize(self, _api: &dyn Api) -> StdResult<Self::Output>

source§

impl Humanize for u8

§

type Output = u8

source§

fn humanize(self, _api: &dyn Api) -> StdResult<Self::Output>

source§

impl Humanize for i32

§

type Output = i32

source§

fn humanize(self, _api: &dyn Api) -> StdResult<Self::Output>

source§

impl Humanize for String

§

type Output = String

source§

fn humanize(self, _api: &dyn Api) -> StdResult<Self::Output>

Implementors§