pub struct ParticipantInfo {
pub participant_id: ParticipantId,
pub public_key: Vec<u8>,
pub frost_share_commitment: FrostCommitment,
pub role: ParticipantRole,
pub status: ParticipantStatus,
pub joined_at: SystemTime,
pub metadata: HashMap<String, String>,
}Expand description
Participant information
Fields§
§participant_id: ParticipantIdUnique participant identifier
public_key: Vec<u8>ML-DSA public key for authentication (serialized ant-quic type)
FROST share commitment
role: ParticipantRoleParticipant role in the group
status: ParticipantStatusStatus in the group
joined_at: SystemTimeJoin timestamp
metadata: HashMap<String, String>Custom metadata
Trait Implementations§
Source§impl Clone for ParticipantInfo
impl Clone for ParticipantInfo
Source§fn clone(&self) -> ParticipantInfo
fn clone(&self) -> ParticipantInfo
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 ParticipantInfo
impl Debug for ParticipantInfo
Source§impl<'de> Deserialize<'de> for ParticipantInfo
impl<'de> Deserialize<'de> for ParticipantInfo
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
Auto Trait Implementations§
impl Freeze for ParticipantInfo
impl RefUnwindSafe for ParticipantInfo
impl Send for ParticipantInfo
impl Sync for ParticipantInfo
impl Unpin for ParticipantInfo
impl UnwindSafe for ParticipantInfo
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