pub(crate) fn new(
        group_id: GroupId,
        epoch: GroupEpoch,
        tree_hash: Vec<u8>,
        confirmed_transcript_hash: Vec<u8>,
        extensions: Vec<Extension>,
        confirmation_tag: ConfirmationTag,
        signer_index: LeafIndex,
    ) -> Self {
        Self {
            group_id,
            epoch,
            tree_hash: tree_hash.into(),
            confirmed_transcript_hash: confirmed_transcript_hash.into(),
            extensions: extensions.into(),
            confirmation_tag,
            signer_index,
        }
    }
/// Create a new group info payload struct.
Create a new group info payload struct.
Create a new group info payload struct .
pub(crate) fn new(
        group_id: GroupId,
        epoch: GroupEpoch,
        tree_hash: Vec<u8>,
        confirmed_transcript_hash: Vec<u8>,
        extensions: Vec<Extension>,
        confirmation_tag: ConfirmationTag,
        signer_index: LeafIndex,
    ) -> Self {
        Self {
            group_id,
            epoch,
            tree_hash: tree_hash.into(),
            confirmed_transcript_hash: confirmed_transcript_hash.into(),
            extensions: extensions.into(),
            confirmation_tag,
            signer_index,
        }
    }
pub ( crate ) fn new ( group_id : GroupId , epoch : GroupEpoch , tree_hash : Vec < u8 > , confirmed_transcript_hash : Vec < u8 > , extensions : Vec < Extension > , confirmation_tag : ConfirmationTag , signer_index : LeafIndex , ) -> Self { Self { group_id , epoch , tree_hash : tree_hash . into ( ) , confirmed_transcript_hash : confirmed_transcript_hash . into ( ) , extensions : extensions . into ( ) , confirmation_tag , signer_index , } }
Create a new group info payload struct.
Create a new group info payload struct .
group_id
GroupId
epoch
GroupEpoch
tree_hash
Vec<u8>
confirmed_transcript_hash
Vec<u8>
extensions
Vec<Extension>
confirmation_tag
ConfirmationTag
signer_index
LeafIndex
group_id
GroupId
epoch
GroupEpoch
tree_hash
Vec<u8>
confirmed_transcript_hash
Vec<u8>
extensions
Vec<Extension>
confirmation_tag
ConfirmationTag
signer_index
LeafIndex