pub struct LockEntity {
pub path: Option<String>,
pub timeout: Option<i64>,
pub depth: Option<String>,
pub owner: Option<String>,
pub scope: Option<String>,
pub token: Option<String>,
pub lock_type: Option<String>,
pub user_id: Option<i64>,
pub username: Option<String>,
}
Expand description
Represents a file lock
Fields§
§path: Option<String>
§timeout: Option<i64>
§depth: Option<String>
§owner: Option<String>
§scope: Option<String>
§token: Option<String>
§lock_type: Option<String>
§user_id: Option<i64>
§username: Option<String>
Trait Implementations§
Source§impl Clone for LockEntity
impl Clone for LockEntity
Source§fn clone(&self) -> LockEntity
fn clone(&self) -> LockEntity
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 LockEntity
impl Debug for LockEntity
Source§impl<'de> Deserialize<'de> for LockEntity
impl<'de> Deserialize<'de> for LockEntity
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 LockEntity
impl RefUnwindSafe for LockEntity
impl Send for LockEntity
impl Sync for LockEntity
impl Unpin for LockEntity
impl UnwindSafe for LockEntity
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