[][src]Struct cryptonote_account::Address

pub struct Address { /* fields omitted */ }

Methods

impl Address[src]

pub fn new(prefix: u64, spend: PublicKey, view: PublicKey) -> Address[src]

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

pub fn get_prefix(&self) -> u64[src]

pub fn from(prefix: u64, address: &String) -> Address[src]

pub fn to(prefix: u64, spend: PublicKey, view: PublicKey) -> String[src]

Trait Implementations

impl Display for Address[src]

Auto Trait Implementations

impl !Send for Address

impl !Sync for Address

Blanket Implementations

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

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

impl<T> Same for T

type Output = T

Should always be Self