Enum matrix_sdk::verification::Verification [−][src]
pub enum Verification {
SasV1(SasVerification),
QrV1(QrVerification),
}
encryption
only.Expand description
An enum over the different verification types the SDK supports.
Variants
SasV1(SasVerification)
The m.sas.v1
verification variant.
Tuple Fields of SasV1
QrV1(QrVerification)
qrcode
only.The m.qr_code.*.v1
verification variant.
Tuple Fields of QrV1
Implementations
Try to deconstruct this verification enum into a SAS verification.
Try to deconstruct this verification enum into a QR code verification.
Has the verification been cancelled.
Get info about the cancellation if the verification flow has been cancelled.
Get our own user id.
Get the user id of the other user participating in this verification flow.
Is this a verification that is veryfying one of our own devices.
Did we initiate the verification flow.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Verification
impl Send for Verification
impl Sync for Verification
impl Unpin for Verification
impl !UnwindSafe for Verification
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more