pub struct MlsConversationConfiguration {
pub ciphersuite: MlsCiphersuite,
pub external_senders: Vec<ExternalSender>,
pub custom: MlsCustomConfiguration,
}Expand description
The configuration parameters for a group/conversation
Fields§
§ciphersuite: MlsCiphersuiteThe OpenMls Ciphersuite used in the group
external_senders: Vec<ExternalSender>Delivery service public signature key and credential
custom: MlsCustomConfigurationImplementation specific configuration
Implementations§
Source§impl MlsConversationConfiguration
impl MlsConversationConfiguration
Sourcepub fn as_openmls_default_configuration(&self) -> Result<MlsGroupConfig>
pub fn as_openmls_default_configuration(&self) -> Result<MlsGroupConfig>
Generates an MlsGroupConfig from this configuration
Sourcepub fn default_leaf_capabilities() -> Capabilities
pub fn default_leaf_capabilities() -> Capabilities
Default capabilities for every generated openmls::prelude::KeyPackage
Trait Implementations§
Source§impl Clone for MlsConversationConfiguration
impl Clone for MlsConversationConfiguration
Source§fn clone(&self) -> MlsConversationConfiguration
fn clone(&self) -> MlsConversationConfiguration
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MlsConversationConfiguration
impl Debug for MlsConversationConfiguration
Source§impl Default for MlsConversationConfiguration
impl Default for MlsConversationConfiguration
Source§fn default() -> MlsConversationConfiguration
fn default() -> MlsConversationConfiguration
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MlsConversationConfiguration
impl RefUnwindSafe for MlsConversationConfiguration
impl Send for MlsConversationConfiguration
impl Sync for MlsConversationConfiguration
impl Unpin for MlsConversationConfiguration
impl UnwindSafe for MlsConversationConfiguration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more