[][src]Struct safe_nd::ADataOwner

pub struct ADataOwner {
    pub public_key: PublicKey,
    pub entries_index: u64,
    pub permissions_index: u64,
}

An owner could represent an individual user, or a group of users, depending on the public_key type.

Fields

public_key: PublicKey

Public key.

entries_index: u64

The current index of the data when this ownership change happened

permissions_index: u64

The current index of the permissions when this ownership change happened

Trait Implementations

impl Clone for Owner[src]

impl Copy for Owner[src]

impl Debug for Owner[src]

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

impl Eq for Owner[src]

impl Hash for Owner[src]

impl Ord for Owner[src]

impl PartialEq<Owner> for Owner[src]

impl PartialOrd<Owner> for Owner[src]

impl Serialize for Owner[src]

impl StructuralEq for Owner[src]

impl StructuralPartialEq for Owner[src]

impl TryFrom<Response> for ADataOwner[src]

type Error = TryFromError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Owner

impl Send for Owner

impl Sync for Owner

impl Unpin for Owner

impl UnwindSafe for Owner

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