fn from_plaintext(mls_plaintext: MlsPlaintext) -> Self {
        MlsPlaintextTbs {
            wire_format: mls_plaintext.wire_format,
            serialized_context: None,
            group_id: mls_plaintext.group_id,
            epoch: mls_plaintext.epoch,
            sender: mls_plaintext.sender,
            authenticated_data: mls_plaintext.authenticated_data,
            content_type: mls_plaintext.content_type,
            payload: mls_plaintext.content,
        }
    }
/// Create a new signable MlsPlaintext from an existing MlsPlaintext.
/// This consumes the existing plaintext.
/// To get the `MlsPlaintext` back use `sign`.
Create a new signable MlsPlaintext from an existing MlsPlaintext.
This consumes the existing plaintext.
To get the `MlsPlaintext` back use `sign`.
Create a new signable MlsPlaintext from an existing MlsPlaintext . This consumes the existing plaintext . To get the ` MlsPlaintext ` back use ` sign ` .
fn from_plaintext(mls_plaintext: MlsPlaintext) -> Self {
        MlsPlaintextTbs {
            wire_format: mls_plaintext.wire_format,
            serialized_context: None,
            group_id: mls_plaintext.group_id,
            epoch: mls_plaintext.epoch,
            sender: mls_plaintext.sender,
            authenticated_data: mls_plaintext.authenticated_data,
            content_type: mls_plaintext.content_type,
            payload: mls_plaintext.content,
        }
    }
fn from_plaintext ( mls_plaintext : MlsPlaintext ) -> Self { MlsPlaintextTbs { wire_format : mls_plaintext . wire_format , serialized_context : None , group_id : mls_plaintext . group_id , epoch : mls_plaintext . epoch , sender : mls_plaintext . sender , authenticated_data : mls_plaintext . authenticated_data , content_type : mls_plaintext . content_type , payload : mls_plaintext . content , } }
Create a new signable MlsPlaintext from an existing MlsPlaintext.
Create a new signable MlsPlaintext from an existing MlsPlaintext .
mls_plaintext
MlsPlaintext
mls_plaintext
MlsPlaintext