pub struct SubgroupConfig {
pub name: String,
pub threshold: u16,
pub initial_participants: Vec<ParticipantId>,
pub purpose: GroupPurpose,
}Expand description
Subgroup configuration
Fields§
§name: String§threshold: u16§initial_participants: Vec<ParticipantId>§purpose: GroupPurposeTrait Implementations§
Source§impl Clone for SubgroupConfig
impl Clone for SubgroupConfig
Source§fn clone(&self) -> SubgroupConfig
fn clone(&self) -> SubgroupConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SubgroupConfig
impl Debug for SubgroupConfig
Source§impl<'de> Deserialize<'de> for SubgroupConfig
impl<'de> Deserialize<'de> for SubgroupConfig
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 SubgroupConfig
impl RefUnwindSafe for SubgroupConfig
impl Send for SubgroupConfig
impl Sync for SubgroupConfig
impl Unpin for SubgroupConfig
impl UnwindSafe for SubgroupConfig
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