Struct matrix_sdk::encryption::verification::AcceptSettings
pub struct AcceptSettings { /* private fields */ }
Available on crate feature
e2e-encryption
only.Expand description
Customize the accept-reply for a verification process
Implementations§
§impl AcceptSettings
impl AcceptSettings
pub fn with_allowed_methods(
methods: Vec<ShortAuthenticationString>
) -> AcceptSettings
pub fn with_allowed_methods( methods: Vec<ShortAuthenticationString> ) -> AcceptSettings
Create settings restricting the allowed SAS methods
§Arguments
methods
- The methods this client allows at most
Trait Implementations§
§impl Debug for AcceptSettings
impl Debug for AcceptSettings
§impl Default for AcceptSettings
impl Default for AcceptSettings
§fn default() -> AcceptSettings
fn default() -> AcceptSettings
All methods are allowed
Auto Trait Implementations§
impl RefUnwindSafe for AcceptSettings
impl Send for AcceptSettings
impl Sync for AcceptSettings
impl Unpin for AcceptSettings
impl UnwindSafe for AcceptSettings
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