Struct matrix_sdk_crypto::requests::OutgoingRequest
source · pub struct OutgoingRequest { /* private fields */ }
Expand description
Outgoing request type, holds the unique ID of the request and the actual request.
Implementations§
source§impl OutgoingRequest
impl OutgoingRequest
sourcepub fn request_id(&self) -> &TransactionId
pub fn request_id(&self) -> &TransactionId
Get the unique id of this request.
sourcepub fn request(&self) -> &OutgoingRequests
pub fn request(&self) -> &OutgoingRequests
Get the underlying outgoing request.
Trait Implementations§
source§impl Clone for OutgoingRequest
impl Clone for OutgoingRequest
source§fn clone(&self) -> OutgoingRequest
fn clone(&self) -> OutgoingRequest
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 OutgoingRequest
impl Debug for OutgoingRequest
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<Request> for OutgoingRequest
impl From<Request> for OutgoingRequest
Auto Trait Implementations§
impl RefUnwindSafe for OutgoingRequest
impl Send for OutgoingRequest
impl Sync for OutgoingRequest
impl Unpin for OutgoingRequest
impl UnwindSafe for OutgoingRequest
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<>