pub enum OutgoingVerificationRequest {
ToDevice(ToDeviceRequest),
InRoom(RoomMessageRequest),
}
Expand description
An enum over the different outgoing verification based requests.
Variants§
ToDevice(ToDeviceRequest)
The to-device verification request variant.
InRoom(RoomMessageRequest)
The in-room verification request variant.
Implementations§
source§impl OutgoingVerificationRequest
impl OutgoingVerificationRequest
sourcepub fn request_id(&self) -> &TransactionId
pub fn request_id(&self) -> &TransactionId
Get the unique id of this request.
Trait Implementations§
source§impl Clone for OutgoingVerificationRequest
impl Clone for OutgoingVerificationRequest
source§fn clone(&self) -> OutgoingVerificationRequest
fn clone(&self) -> OutgoingVerificationRequest
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 OutgoingVerificationRequest
impl Debug for OutgoingVerificationRequest
source§impl From<OutgoingVerificationRequest> for OutgoingRequest
impl From<OutgoingVerificationRequest> for OutgoingRequest
source§fn from(r: OutgoingVerificationRequest) -> Self
fn from(r: OutgoingVerificationRequest) -> Self
Converts to this type from the input type.
source§impl From<OutgoingVerificationRequest> for OutgoingRequests
impl From<OutgoingVerificationRequest> for OutgoingRequests
source§fn from(request: OutgoingVerificationRequest) -> Self
fn from(request: OutgoingVerificationRequest) -> Self
Converts to this type from the input type.
source§impl From<RoomMessageRequest> for OutgoingVerificationRequest
impl From<RoomMessageRequest> for OutgoingVerificationRequest
source§fn from(r: RoomMessageRequest) -> Self
fn from(r: RoomMessageRequest) -> Self
Converts to this type from the input type.
source§impl From<ToDeviceRequest> for OutgoingVerificationRequest
impl From<ToDeviceRequest> for OutgoingVerificationRequest
source§fn from(r: ToDeviceRequest) -> Self
fn from(r: ToDeviceRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for OutgoingVerificationRequest
impl Send for OutgoingVerificationRequest
impl Sync for OutgoingVerificationRequest
impl Unpin for OutgoingVerificationRequest
impl UnwindSafe for OutgoingVerificationRequest
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§fn clone_handle(handle: Handle) -> Handle
fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>