pub enum MembraneInvitationsEvent {
Invite {
recipients: BTreeSet<AgentPubKey>,
role_name_to_clone: RoleName,
dna_modifiers: DnaModifiers,
membrane_proof: Option<MembraneProof>,
},
}Variants§
Invite
Trait Implementations§
Source§impl Clone for MembraneInvitationsEvent
impl Clone for MembraneInvitationsEvent
Source§fn clone(&self) -> MembraneInvitationsEvent
fn clone(&self) -> MembraneInvitationsEvent
Returns a copy 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 MembraneInvitationsEvent
impl Debug for MembraneInvitationsEvent
Source§impl<'de> Deserialize<'de> for MembraneInvitationsEvent
impl<'de> Deserialize<'de> for MembraneInvitationsEvent
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 EventType for MembraneInvitationsEvent
impl EventType for MembraneInvitationsEvent
fn event_type(&self) -> String
Source§impl<'_derivative_strum> From<&'_derivative_strum MembraneInvitationsEvent> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum MembraneInvitationsEvent> for &'static str
Source§fn from(x: &'_derivative_strum MembraneInvitationsEvent) -> &'static str
fn from(x: &'_derivative_strum MembraneInvitationsEvent) -> &'static str
Converts to this type from the input type.
Source§impl From<MembraneInvitationsEvent> for &'static str
impl From<MembraneInvitationsEvent> for &'static str
Source§fn from(x: MembraneInvitationsEvent) -> &'static str
fn from(x: MembraneInvitationsEvent) -> &'static str
Converts to this type from the input type.
Source§impl PrivateEvent for MembraneInvitationsEvent
impl PrivateEvent for MembraneInvitationsEvent
Source§fn validate(
&self,
_event_hash: EntryHash,
_author: AgentPubKey,
_timestamp: Timestamp,
) -> ExternResult<ValidateCallbackResult>
fn validate( &self, _event_hash: EntryHash, _author: AgentPubKey, _timestamp: Timestamp, ) -> ExternResult<ValidateCallbackResult>
Whether the given entry is to be accepted in to our source chain
Source§fn recipients(
&self,
_event_hash: EntryHash,
_author: AgentPubKey,
_timestamp: Timestamp,
) -> ExternResult<BTreeSet<AgentPubKey>>
fn recipients( &self, _event_hash: EntryHash, _author: AgentPubKey, _timestamp: Timestamp, ) -> ExternResult<BTreeSet<AgentPubKey>>
The agents other than the linked devices for the author that are suposed to receive this entry
Source§impl Serialize for MembraneInvitationsEvent
impl Serialize for MembraneInvitationsEvent
Source§impl TryFrom<&MembraneInvitationsEvent> for SerializedBytes
impl TryFrom<&MembraneInvitationsEvent> for SerializedBytes
Source§impl TryFrom<MembraneInvitationsEvent> for SerializedBytes
impl TryFrom<MembraneInvitationsEvent> for SerializedBytes
Auto Trait Implementations§
impl Freeze for MembraneInvitationsEvent
impl RefUnwindSafe for MembraneInvitationsEvent
impl Send for MembraneInvitationsEvent
impl Sync for MembraneInvitationsEvent
impl Unpin for MembraneInvitationsEvent
impl UnwindSafe for MembraneInvitationsEvent
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