Struct rd_agent_intf::sysreqs::SysReqsReport
source · [−]pub struct SysReqsReport {Show 15 fields
pub satisfied: BTreeSet<SysReq>,
pub missed: MissedSysReqs,
pub kernel_version: String,
pub agent_version: String,
pub hashd_version: String,
pub nr_cpus: usize,
pub total_memory: usize,
pub total_swap: usize,
pub scr_dev: String,
pub scr_devnr: (u32, u32),
pub scr_dev_model: String,
pub scr_dev_fwrev: String,
pub scr_dev_size: u64,
pub scr_dev_iosched: String,
pub enforce: EnforceConfig,
}
Fields
satisfied: BTreeSet<SysReq>
missed: MissedSysReqs
kernel_version: String
agent_version: String
hashd_version: String
nr_cpus: usize
total_memory: usize
total_swap: usize
scr_dev: String
scr_devnr: (u32, u32)
scr_dev_model: String
scr_dev_fwrev: String
scr_dev_size: u64
scr_dev_iosched: String
enforce: EnforceConfig
Trait Implementations
sourceimpl Clone for SysReqsReport
impl Clone for SysReqsReport
sourcefn clone(&self) -> SysReqsReport
fn clone(&self) -> SysReqsReport
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SysReqsReport
impl Debug for SysReqsReport
sourceimpl Default for SysReqsReport
impl Default for SysReqsReport
sourcefn default() -> SysReqsReport
fn default() -> SysReqsReport
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SysReqsReport
impl<'de> Deserialize<'de> for SysReqsReport
sourcefn 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
sourceimpl JsonLoad for SysReqsReport
impl JsonLoad for SysReqsReport
sourceimpl JsonSave for SysReqsReport
impl JsonSave for SysReqsReport
sourceimpl Serialize for SysReqsReport
impl Serialize for SysReqsReport
Auto Trait Implementations
impl RefUnwindSafe for SysReqsReport
impl Send for SysReqsReport
impl Sync for SysReqsReport
impl Unpin for SysReqsReport
impl UnwindSafe for SysReqsReport
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more