pub struct LockRequest {
pub tx_id: TransactionId,
pub key: VersionKey,
pub mode: LockMode,
pub granted: bool,
}Expand description
A lock request.
Fields§
§tx_id: TransactionId§key: VersionKey§mode: LockMode§granted: boolTrait Implementations§
Source§impl Clone for LockRequest
impl Clone for LockRequest
Source§fn clone(&self) -> LockRequest
fn clone(&self) -> LockRequest
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 moreAuto Trait Implementations§
impl Freeze for LockRequest
impl RefUnwindSafe for LockRequest
impl Send for LockRequest
impl Sync for LockRequest
impl Unpin for LockRequest
impl UnsafeUnpin for LockRequest
impl UnwindSafe for LockRequest
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