Struct matrix_sdk::verification::QrVerification [−][src]
pub struct QrVerification { /* fields omitted */ }
encryption
only.Expand description
An object controlling QR code style key verification flows.
Implementations
Get our own user id.
Is this a verification that is veryfying one of our own devices.
Did we initiate the verification flow.
Get info about the cancellation if the verification flow has been cancelled.
Get the user id of the other user participating in this verification flow.
Has the verification been cancelled.
Generate a QR code object that is representing this verification flow.
The QrCode
can then be rendered as an image or as an unicode string.
The to_bytes()
method can be used to instead
output the raw bytes that should be encoded as a QR code.
Generate a the raw bytes that should be encoded as a QR code is representing this verification flow.
The to_qr_code()
method can be used to instead
output a QrCode
object that can be rendered.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for QrVerification
impl Send for QrVerification
impl Sync for QrVerification
impl Unpin for QrVerification
impl !UnwindSafe for QrVerification
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more