[][src]Enum ton_client_rs::TonAddress

pub enum TonAddress {
    StdShort([u8; 32]),
    StdFull(i8[u8; 32]),
    AnycastStd(u8u32i8[u8; 32]),

Enum representing possible TON blockchain internal account addresses. For now only StdShort address is supported by core library so all variants are come down to StdShort variant while calling core library


StdShort([u8; 32])StdFull(i8[u8; 32])Var(i32Vec<u8>)AnycastStd(u8u32i8[u8; 32])AnycastVar(u8u32i32Vec<u8>)


impl TonAddress[src]

pub fn get_account_hex_string(&self) -> String[src]

Returns hex-string representation of account ID (not fully qualified address)

Trait Implementations

impl Clone for TonAddress[src]

impl PartialEq<TonAddress> for TonAddress[src]

impl Display for TonAddress[src]

impl Debug for TonAddress[src]

impl Serialize for TonAddress[src]

impl<'de> Deserialize<'de> for TonAddress[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>,