pub struct LockInfo {
pub user_id: Box<str>,
pub mode: LockMode,
pub acquired_at: u64,
pub ttl_secs: u64,
}Expand description
Information about an active lock on a document path.
Fields§
§user_id: Box<str>§mode: LockMode§acquired_at: u64§ttl_secs: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for LockInfo
impl RefUnwindSafe for LockInfo
impl Send for LockInfo
impl Sync for LockInfo
impl Unpin for LockInfo
impl UnsafeUnpin for LockInfo
impl UnwindSafe for LockInfo
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