pub struct CreateGroup(GroupInfo);Expand description
Activity events for encrypted group management in the DGA protocol
All events are encrypted with AES-GCM using the group’s shared key. These events form the core primitives for managing distributed encrypted groups.
Tuple Fields§
§0: GroupInfoImplementations§
Source§impl CreateGroup
impl CreateGroup
Sourcepub fn group_info(&self) -> &GroupInfo
pub fn group_info(&self) -> &GroupInfo
Get a reference to the inner GroupInfo
Sourcepub fn into_group_info(self) -> GroupInfo
pub fn into_group_info(self) -> GroupInfo
Consume the CreateGroup and return the inner GroupInfo
Trait Implementations§
Source§impl Clone for CreateGroup
impl Clone for CreateGroup
Source§fn clone(&self) -> CreateGroup
fn clone(&self) -> CreateGroup
Returns a duplicate of the value. Read more
1.0.0 · 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 CreateGroup
impl Debug for CreateGroup
Source§impl<'de> Deserialize<'de> for CreateGroup
impl<'de> Deserialize<'de> for CreateGroup
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
Source§impl PartialEq for CreateGroup
impl PartialEq for CreateGroup
Source§impl Serialize for CreateGroup
impl Serialize for CreateGroup
impl Eq for CreateGroup
impl StructuralPartialEq for CreateGroup
Auto Trait Implementations§
impl Freeze for CreateGroup
impl RefUnwindSafe for CreateGroup
impl Send for CreateGroup
impl Sync for CreateGroup
impl Unpin for CreateGroup
impl UnwindSafe for CreateGroup
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: '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<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more