Enum ate::meta::WriteOption[][src]

pub enum WriteOption {
    Inherit,
    Everyone,
    Nobody,
    Specific(Hash),
    Group(Vec<Hash>),
}

Determines who is allowed to attach events records to this part of the chain-of-trust key. Only users who have the PrivateKey in their session will be able to write these records to the chain. The hash of the PublicKey side is stored in this enum.

Variants

Inherit
Everyone
Nobody
Specific(Hash)
Group(Vec<Hash>)

Implementations

impl WriteOption[src]

pub fn vals(&self) -> FxHashSet<Hash>[src]

pub fn or(self, other: &WriteOption) -> WriteOption[src]

Trait Implementations

impl Clone for WriteOption[src]

impl Debug for WriteOption[src]

impl Default for WriteOption[src]

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

impl Eq for WriteOption[src]

impl Ord for WriteOption[src]

impl PartialEq<WriteOption> for WriteOption[src]

impl PartialOrd<WriteOption> for WriteOption[src]

impl Serialize for WriteOption[src]

impl StructuralEq for WriteOption[src]

impl StructuralPartialEq for WriteOption[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> 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, 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>,