Struct mpc_protocol::MeetingState
source · pub struct MeetingState {
pub meeting_id: MeetingId,
pub registered_participants: Vec<Vec<u8>>,
pub data: Value,
}
Expand description
Response from creating a meeting point.
Fields§
§meeting_id: MeetingId
Meeting identifier.
registered_participants: Vec<Vec<u8>>
Public keys of the registered participants.
data: Value
Data for the meeting state.
Trait Implementations§
source§impl Clone for MeetingState
impl Clone for MeetingState
source§fn clone(&self) -> MeetingState
fn clone(&self) -> MeetingState
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 MeetingState
impl Debug for MeetingState
source§impl Decodable for MeetingState
impl Decodable for MeetingState
source§impl Default for MeetingState
impl Default for MeetingState
source§fn default() -> MeetingState
fn default() -> MeetingState
Returns the “default value” for a type. Read more
source§impl Encodable for MeetingState
impl Encodable for MeetingState
source§fn encode<'life0, 'life1, 'async_trait, W>(
&'life0 self,
writer: &'life1 mut BinaryWriter<W>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
W: 'async_trait + AsyncWrite + AsyncSeek + Unpin + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn encode<'life0, 'life1, 'async_trait, W>(
&'life0 self,
writer: &'life1 mut BinaryWriter<W>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
W: 'async_trait + AsyncWrite + AsyncSeek + Unpin + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Encode self into the binary writer.
Auto Trait Implementations§
impl Freeze for MeetingState
impl RefUnwindSafe for MeetingState
impl Send for MeetingState
impl Sync for MeetingState
impl Unpin for MeetingState
impl UnwindSafe for MeetingState
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