pub struct LockInfo {
pub pid: u32,
pub hostname: String,
pub acquired_at: DateTime<Utc>,
pub plan_id: Option<String>,
}Expand description
Information stored in the lock file
Fields§
§pid: u32Process ID of the lock holder
hostname: StringHostname where the lock was acquired
acquired_at: DateTime<Utc>When the lock was acquired
plan_id: Option<String>Optional plan ID being executed
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LockInfo
impl<'de> Deserialize<'de> for LockInfo
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
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