pub struct ClientsLock {
pub refcount: u32,
pub clients: HashMap<i32, ClientInfo>,
}Fields§
§refcount: u32§clients: HashMap<i32, ClientInfo>Implementations§
Source§impl ClientsLock
impl ClientsLock
Trait Implementations§
Source§impl Clone for ClientsLock
impl Clone for ClientsLock
Source§fn clone(&self) -> ClientsLock
fn clone(&self) -> ClientsLock
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 ClientsLock
impl Debug for ClientsLock
Source§impl<'de> Deserialize<'de> for ClientsLock
impl<'de> Deserialize<'de> for ClientsLock
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 ClientsLock
impl RefUnwindSafe for ClientsLock
impl Send for ClientsLock
impl Sync for ClientsLock
impl Unpin for ClientsLock
impl UnsafeUnpin for ClientsLock
impl UnwindSafe for ClientsLock
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