pub struct SequencePrivatePolicy {
pub owner: PublicKey,
pub permissions: BTreeMap<PublicKey, PrivatePermissions>,
}Expand description
Private permissions.
Fields§
§owner: PublicKeyAn owner could represent an individual user, or a group of users,
depending on the public_key type.
permissions: BTreeMap<PublicKey, PrivatePermissions>Map of users to their private permission set.
Trait Implementations§
Source§impl Clone for PrivatePolicy
impl Clone for PrivatePolicy
Source§fn clone(&self) -> PrivatePolicy
fn clone(&self) -> PrivatePolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrivatePolicy
impl Debug for PrivatePolicy
Source§impl<'de> Deserialize<'de> for PrivatePolicy
impl<'de> Deserialize<'de> for PrivatePolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PrivatePolicy
Source§impl From<PrivatePolicy> for Policy
impl From<PrivatePolicy> for Policy
Source§fn from(policy: PrivatePolicy) -> Self
fn from(policy: PrivatePolicy) -> Self
Converts to this type from the input type.
Source§impl Hash for PrivatePolicy
impl Hash for PrivatePolicy
Source§impl Ord for PrivatePolicy
impl Ord for PrivatePolicy
Source§fn cmp(&self, other: &PrivatePolicy) -> Ordering
fn cmp(&self, other: &PrivatePolicy) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PrivatePolicy
impl PartialEq for PrivatePolicy
Source§fn eq(&self, other: &PrivatePolicy) -> bool
fn eq(&self, other: &PrivatePolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PrivatePolicy
impl PartialOrd for PrivatePolicy
Source§impl Serialize for PrivatePolicy
impl Serialize for PrivatePolicy
impl StructuralPartialEq for PrivatePolicy
Auto Trait Implementations§
impl Freeze for PrivatePolicy
impl RefUnwindSafe for PrivatePolicy
impl Send for PrivatePolicy
impl Sync for PrivatePolicy
impl Unpin for PrivatePolicy
impl UnsafeUnpin for PrivatePolicy
impl UnwindSafe for PrivatePolicy
Blanket Implementations§
impl<A> Actor for A
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more