[][src]Struct safe_nd::ADataEntry

pub struct ADataEntry {
    pub key: Vec<u8>,
    pub value: Vec<u8>,
}

A key-value entry in AppendOnlyData.

Fields

key: Vec<u8>

Key.

value: Vec<u8>

Contained data.

Methods

impl Entry[src]

pub fn new(key: Vec<u8>, value: Vec<u8>) -> Self[src]

Constructs a new entry.

Trait Implementations

impl Clone for Entry[src]

impl Default for Entry[src]

impl Eq for Entry[src]

impl Ord for Entry[src]

impl PartialEq<Entry> for Entry[src]

impl PartialOrd<Entry> for Entry[src]

impl Debug for Entry[src]

impl TryFrom<Response> for ADataEntry[src]

type Error = TryFromError

The type returned in the event of a conversion error.

impl Hash for Entry[src]

impl StructuralPartialEq for Entry[src]

impl StructuralEq for Entry[src]

impl Serialize for Entry[src]

impl<'de> Deserialize<'de> for Entry[src]

Auto Trait Implementations

impl Send for Entry

impl Sync for Entry

impl Unpin for Entry

impl UnwindSafe for Entry

impl RefUnwindSafe for Entry

Blanket Implementations

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

impl<T> From<T> for 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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Clear for T where
    T: InitializableFromZeroed + ?Sized

impl<T> InitializableFromZeroed for T where
    T: Default

impl<T> Same<T> for T

type Output = T

Should always be Self