pub struct GroupsOperation<C = ()> {
pub id: Hash,
pub author: VerifyingKey,
pub dependencies: Vec<Hash>,
pub group_id: VerifyingKey,
pub action: GroupAction<VerifyingKey, C>,
}Expand description
Concrete groups operation type.
Fields§
§id: Hash§dependencies: Vec<Hash>§group_id: VerifyingKey§action: GroupAction<VerifyingKey, C>Trait Implementations§
Source§impl<C: Clone> Clone for GroupsOperation<C>
impl<C: Clone> Clone for GroupsOperation<C>
Source§fn clone(&self) -> GroupsOperation<C>
fn clone(&self) -> GroupsOperation<C>
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<C: Debug> Debug for GroupsOperation<C>
impl<C: Debug> Debug for GroupsOperation<C>
Source§impl<'de, C> Deserialize<'de> for GroupsOperation<C>where
C: Deserialize<'de>,
impl<'de, C> Deserialize<'de> for GroupsOperation<C>where
C: Deserialize<'de>,
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<C: Eq> Eq for GroupsOperation<C>
Source§impl<C> Operation<VerifyingKey, Hash, C> for GroupsOperation<C>where
C: Conditions,
Implementation of groups Operation trait.
impl<C> Operation<VerifyingKey, Hash, C> for GroupsOperation<C>where
C: Conditions,
Implementation of groups Operation trait.
ID of the author of this operation.
Source§fn dependencies(&self) -> Vec<Hash>
fn dependencies(&self) -> Vec<Hash>
Auth dependencies.
Source§fn group_id(&self) -> VerifyingKey
fn group_id(&self) -> VerifyingKey
The id of the group the action applies to.
Source§fn action(&self) -> GroupAction<VerifyingKey, C>
fn action(&self) -> GroupAction<VerifyingKey, C>
The group action.
Source§impl<C: PartialEq> PartialEq for GroupsOperation<C>
impl<C: PartialEq> PartialEq for GroupsOperation<C>
Source§fn eq(&self, other: &GroupsOperation<C>) -> bool
fn eq(&self, other: &GroupsOperation<C>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<C> Serialize for GroupsOperation<C>where
C: Serialize,
impl<C> Serialize for GroupsOperation<C>where
C: Serialize,
impl<C: PartialEq> StructuralPartialEq for GroupsOperation<C>
Auto Trait Implementations§
impl<C> Freeze for GroupsOperation<C>where
C: Freeze,
impl<C> RefUnwindSafe for GroupsOperation<C>where
C: RefUnwindSafe,
impl<C> Send for GroupsOperation<C>where
C: Send,
impl<C> Sync for GroupsOperation<C>where
C: Sync,
impl<C> Unpin for GroupsOperation<C>where
C: Unpin,
impl<C> UnsafeUnpin for GroupsOperation<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for GroupsOperation<C>where
C: UnwindSafe,
Blanket Implementations§
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.