pub(crate) fn new(
        wire_format: WireFormat,
        group_id: GroupId,
        epoch: GroupEpoch,
        sender: Sender,
        authenticated_data: TlsByteVecU32,
        payload: Payload,
    ) -> Self {
        MlsPlaintextTbs {
            serialized_context: None,
            wire_format,
            group_id,
            epoch,
            sender,
            authenticated_data,
            content_type: payload.content_type,
            payload: payload.payload,
        }
    }
/// Create an MlsPlaintextTbs from an existing values.
/// Note that if you would like to add a serialized context, you
/// should subsequently call [`with_context`].
Create an MlsPlaintextTbs from an existing values.
Note that if you would like to add a serialized context, you
should subsequently call [`with_context`].
Create an MlsPlaintextTbs from an existing values . Note that if you would like to add a serialized context you should subsequently call [ ` with_context ` ] .
pub(crate) fn new(
        wire_format: WireFormat,
        group_id: GroupId,
        epoch: GroupEpoch,
        sender: Sender,
        authenticated_data: TlsByteVecU32,
        payload: Payload,
    ) -> Self {
        MlsPlaintextTbs {
            serialized_context: None,
            wire_format,
            group_id,
            epoch,
            sender,
            authenticated_data,
            content_type: payload.content_type,
            payload: payload.payload,
        }
    }
pub ( crate ) fn new ( wire_format : WireFormat , group_id : GroupId , epoch : GroupEpoch , sender : Sender , authenticated_data : TlsByteVecU32 , payload : Payload , ) -> Self { MlsPlaintextTbs { serialized_context : None , wire_format , group_id , epoch , sender , authenticated_data , content_type : payload . content_type , payload : payload . payload , } }
Create an MlsPlaintextTbs from an existing values.
Create an MlsPlaintextTbs from an existing values .
wire_format
WireFormat
group_id
GroupId
epoch
GroupEpoch
sender
Sender
authenticated_data
TlsByteVecU32
payload
Payload
wire_format
WireFormat
group_id
GroupId
epoch
GroupEpoch
sender
Sender
authenticated_data
TlsByteVecU32
payload
Payload