[−][src]Enum ton_client_rs::TonAddress
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
Variants
StdShort([u8; 32])
StdFull(i8, [u8; 32])
Var(i32, Vec<u8>)
AnycastStd(u8, u32, i8, [u8; 32])
AnycastVar(u8, u32, i32, Vec<u8>)
Methods
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]
fn clone(&self) -> TonAddress
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<TonAddress> for TonAddress
[src]
fn eq(&self, other: &TonAddress) -> bool
[src]
fn ne(&self, other: &TonAddress) -> bool
[src]
impl Display for TonAddress
[src]
impl Debug for TonAddress
[src]
impl Serialize for TonAddress
[src]
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
impl<'de> Deserialize<'de> for TonAddress
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for TonAddress
impl Sync for TonAddress
impl Send for TonAddress
impl UnwindSafe for TonAddress
impl RefUnwindSafe for TonAddress
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,