pub struct ClientInfo<'a> {
pub index: u32,
pub name: Option<Cow<'a, str>>,
pub owner_module: Option<u32>,
pub driver: Option<Cow<'a, str>>,
pub proplist: Proplist,
}
Expand description
Stores information about clients.
Please note that this structure can be extended as part of evolutionary API updates at any time in any new release.
Fields§
§index: u32
Index of this client.
name: Option<Cow<'a, str>>
Name of this client.
owner_module: Option<u32>
Index of the owning module, or None
.
driver: Option<Cow<'a, str>>
Driver name.
proplist: Proplist
Property list.
Implementations§
Source§impl ClientInfo<'_>
impl ClientInfo<'_>
Sourcepub fn to_owned(&self) -> ClientInfo<'static>
pub fn to_owned(&self) -> ClientInfo<'static>
Creates a copy with owned data.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ClientInfo<'a>
impl<'a> RefUnwindSafe for ClientInfo<'a>
impl<'a> Send for ClientInfo<'a>
impl<'a> Sync for ClientInfo<'a>
impl<'a> Unpin for ClientInfo<'a>
impl<'a> UnwindSafe for ClientInfo<'a>
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