pub struct HostInfo {
pub hostname: String,
pub os_image: String,
pub kernel: String,
pub arch: &'static str,
pub cpus: u64,
pub mem_total_kib: u64,
pub machine_id: String,
pub boot_id: String,
}Fields§
§hostname: String§os_image: String§kernel: String§arch: &'static str§cpus: u64§mem_total_kib: u64§machine_id: String§boot_id: StringTrait Implementations§
Auto Trait Implementations§
impl Forget for HostInfo
impl Freeze for HostInfo
impl Move for HostInfo
impl RefUnwindSafe for HostInfo
impl Send for HostInfo
impl Sync for HostInfowhere
RawVecInner: Sync,
impl Unpin for HostInfo
impl UnsafeUnpin for HostInfo
impl UnwindSafe for HostInfo
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