pub struct TransactionKey(/* private fields */);Implementations§
Source§impl TransactionKey
impl TransactionKey
pub fn from_request(req: &Request, role: TransactionRole) -> Result<Self>
pub fn from_response(resp: &Response, role: TransactionRole) -> Result<Self>
Trait Implementations§
Source§impl Clone for TransactionKey
impl Clone for TransactionKey
Source§fn clone(&self) -> TransactionKey
fn clone(&self) -> TransactionKey
Returns a duplicate 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 TransactionKey
impl Debug for TransactionKey
Source§impl Display for TransactionKey
impl Display for TransactionKey
Source§impl Hash for TransactionKey
impl Hash for TransactionKey
Source§impl PartialEq for TransactionKey
impl PartialEq for TransactionKey
impl Eq for TransactionKey
impl StructuralPartialEq for TransactionKey
Auto Trait Implementations§
impl Freeze for TransactionKey
impl RefUnwindSafe for TransactionKey
impl Send for TransactionKey
impl Sync for TransactionKey
impl Unpin for TransactionKey
impl UnwindSafe for TransactionKey
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