[][src]Struct sn_data_types::SequencePublicPolicy

pub struct SequencePublicPolicy {
    pub owner: PublicKey,
    pub permissions: BTreeMap<User, PublicPermissions>,
}

Public permissions.

Fields

owner: PublicKey

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

permissions: BTreeMap<User, PublicPermissions>

Map of users to their public permission set.

Trait Implementations

impl Clone for PublicPolicy[src]

impl Debug for PublicPolicy[src]

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

impl Eq for PublicPolicy[src]

impl From<PublicPolicy> for Policy[src]

impl Hash for PublicPolicy[src]

impl Ord for PublicPolicy[src]

impl PartialEq<PublicPolicy> for PublicPolicy[src]

impl PartialOrd<PublicPolicy> for PublicPolicy[src]

impl Serialize for PublicPolicy[src]

impl StructuralEq for PublicPolicy[src]

impl StructuralPartialEq for PublicPolicy[src]

impl TryFrom<QueryResponse> for SequencePublicPolicy[src]

type Error = TryFromError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<A> Actor for A where
    A: Clone + Ord + Hash
[src]

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> Member for T where
    T: Clone + Eq + Hash
[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>,