pub struct Welcome {
pub cipher_suite: CiphersuiteId,
pub secrets: Vec<EncryptedGroupSecrets>,
pub encrypted_group_info: SensitiveBytes,
}
Fields§
§cipher_suite: CiphersuiteId
§secrets: Vec<EncryptedGroupSecrets>
§encrypted_group_info: SensitiveBytes
Implementations§
Source§impl Welcome
impl Welcome
pub fn into_mls_message(self, protocol_version: ProtocolVersion) -> MlsMessage
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Welcome
impl<'de> Deserialize<'de> for Welcome
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
Source§impl Deserialize for Welcome
impl Deserialize for Welcome
Source§fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
This function deserializes the
bytes
from the provided a std::io::Read
and returns the populated struct. Read moreimpl Eq for Welcome
impl StructuralPartialEq for Welcome
Auto Trait Implementations§
impl Freeze for Welcome
impl RefUnwindSafe for Welcome
impl Send for Welcome
impl Sync for Welcome
impl Unpin for Welcome
impl UnwindSafe for Welcome
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