[][src]Struct cashweb_keyserver::AddressMetadata

pub struct AddressMetadata {
    pub timestamp: i64,
    pub ttl: i64,
    pub entries: Vec<Entry>,
}

AddressMetadata is the user-specified data that is covered by the users signature.

Fields

timestamp: i64

Timestamp allows servers to determine which version of the data is the most recent. Given in milliseconds.

ttl: i64

TTL tells us how long this entry should exist before being considered invalid. Given in milliseconds.

entries: Vec<Entry>

User specified data. Presumably some conventional data determined by wallet authors.

Trait Implementations

impl Clone for AddressMetadata[src]

impl Debug for AddressMetadata[src]

impl Default for AddressMetadata[src]

impl Message for AddressMetadata[src]

impl PartialEq<AddressMetadata> for AddressMetadata[src]

impl StructuralPartialEq for AddressMetadata[src]

Auto Trait Implementations

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> 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.