Trait cw_multi_test::IntoAddr

source ·
pub trait IntoAddr {
    // Required methods
    fn into_addr(self) -> Addr;
    fn into_addr_with_prefix(self, prefix: &'static str) -> Addr;
}
Expand description

Defines conversions to Addr, this conversion is format agnostic and should be aligned with the format generated by MockApi.

Required Methods§

source

fn into_addr(self) -> Addr

Converts into Addr.

source

fn into_addr_with_prefix(self, prefix: &'static str) -> Addr

Converts into Addr with custom prefix.

Implementations on Foreign Types§

source§

impl IntoAddr for &str

source§

fn into_addr(self) -> Addr

Converts &str into Addr.

source§

fn into_addr_with_prefix(self, prefix: &'static str) -> Addr

Converts &str into Addr with custom prefix.

Implementors§