[][src]Struct exonum_merkledb::ResolvedAddress

pub struct ResolvedAddress {
    pub name: String,
    pub id: Option<NonZeroU64>,
}

Resolved address of a view.

While an IndexAddress is a logical location of a view, a ResolvedAddress represents its location in the key-value storage. The mapping between IndexAddresses and ResolvedAddresses is internal to the database logic.

Fields

name: String

Name of the column family where the view is stored.

id: Option<NonZeroU64>

Index identifier within a column family. If set to None, then the column family contains a single view. If id is Some(_), then its value should be used to split key spaces for different views in the same column family. In other words, key spaces for two addresses with equal name and ids Some(x) and Some(y), x != y, must not intersect.

Trait Implementations

impl Clone for ResolvedAddress[src]

impl Debug for ResolvedAddress[src]

impl Eq for ResolvedAddress[src]

impl Hash for ResolvedAddress[src]

impl PartialEq<ResolvedAddress> for ResolvedAddress[src]

impl StructuralEq for ResolvedAddress[src]

impl StructuralPartialEq for ResolvedAddress[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,