Struct engine::vault::RecordId[][src]

#[repr(transparent)]
pub struct RecordId(_);

A record identifier. Contains a ChainID which refers to the “chain” of transactions in the Version.

Implementations

impl RecordId[src]

pub fn random<P: BoxProvider>() -> Result<Self>[src]

pub fn load(data: &[u8]) -> Result<Self>[src]

load record_id from data

Trait Implementations

impl Clone for RecordId[src]

impl Copy for RecordId[src]

impl Debug for RecordId[src]

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

impl Display for RecordId[src]

impl Eq for RecordId[src]

impl Hash for RecordId[src]

impl Ord for RecordId[src]

impl PartialEq<RecordId> for RecordId[src]

impl PartialOrd<RecordId> for RecordId[src]

impl Serialize for RecordId[src]

impl StructuralEq for RecordId[src]

impl StructuralPartialEq for RecordId[src]

impl TryFrom<&'_ [u8]> for RecordId[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<Vec<u8, Global>> for RecordId[src]

type Error = Error

The type returned in the event of a conversion error.

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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> ToString for T where
    T: Display + ?Sized
[src]

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.