pub struct CoreInfo<'a> {
pub id: u32,
pub cookie: u32,
pub user_name: &'a str,
pub host_name: &'a str,
pub version: &'a str,
pub name: &'a str,
pub mask: CoreChangeMask,
pub props: Option<&'a Properties>,
}Expand description
Provides Core-related information in the CoreEvents::info event.
Fields§
§id: u32Id of the core.
Random cookie to identify this instance.
user_name: &'a strUser name of the user who started the core.
host_name: &'a strHost name on which the core is running.
version: &'a strInterface version of the core.
name: &'a strName of the core.
mask: CoreChangeMaskSet of changes since the last call.
props: Option<&'a Properties>Properties of the core.
Auto Trait Implementations§
impl<'a> Freeze for CoreInfo<'a>
impl<'a> RefUnwindSafe for CoreInfo<'a>
impl<'a> Send for CoreInfo<'a>
impl<'a> Sync for CoreInfo<'a>
impl<'a> Unpin for CoreInfo<'a>
impl<'a> UnwindSafe for CoreInfo<'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