[][src]Struct nash_protocol::types::blockchain::neo::Address

pub struct Address { /* fields omitted */ }

NEO address representation

Implementations

impl Address[src]

pub fn new(addr: &str) -> Result<Self>[src]

Create address from the typical base58 encoded string

pub fn from_script_hash(s: &str) -> Result<Self>[src]

Create address from a script hash

pub fn to_bytes(&self) -> Vec<u8>[src]

Serialize the address into bytes for payload creation

Trait Implementations

impl Clone for Address[src]

impl Debug for Address[src]

impl PartialEq<Address> for Address[src]

impl StructuralPartialEq for Address[src]

impl TryFrom<Address> for Address[src]

type Error = ProtocolError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Address

impl Send for Address

impl Sync for Address

impl Unpin for Address

impl UnwindSafe for Address

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.