pub struct ScanLockInfo {
pub timestamp: Option<i64>,
pub remaining: i64,
pub actor: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
Body of a held lock (C1c). Lenient: unknown keys ride in extra.
Fields§
§timestamp: Option<i64>Opaque per-hold value. Never read by any verdict (see module doc).
remaining: i64Whole seconds until the hold expires, floored. An absent key reads as 0, which the verdict treats as expiring: the cautious reading.
actor: Option<String>The holder, as the gateway names it.
extra: BTreeMap<String, Value>Keys this client does not model.
Trait Implementations§
Source§impl Clone for ScanLockInfo
impl Clone for ScanLockInfo
Source§impl Debug for ScanLockInfo
impl Debug for ScanLockInfo
Source§impl<'de> Deserialize<'de> for ScanLockInfo
impl<'de> Deserialize<'de> for ScanLockInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ScanLockInfo
impl PartialEq for ScanLockInfo
Source§impl Serialize for ScanLockInfo
impl Serialize for ScanLockInfo
impl StructuralPartialEq for ScanLockInfo
Auto Trait Implementations§
impl Freeze for ScanLockInfo
impl RefUnwindSafe for ScanLockInfo
impl Send for ScanLockInfo
impl Sync for ScanLockInfo
impl Unpin for ScanLockInfo
impl UnsafeUnpin for ScanLockInfo
impl UnwindSafe for ScanLockInfo
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