Enum below_model::system::SystemModelFieldId
source · [−]pub enum SystemModelFieldId {
Hostname,
KernelVersion,
OsRelease,
Stat(<ProcStatModel as Queriable>::FieldId),
Cpu(<SingleCpuModel as Queriable>::FieldId),
Cpus(<Vec<SingleCpuModel> as Queriable>::FieldId),
Mem(<MemoryModel as Queriable>::FieldId),
Vm(<VmModel as Queriable>::FieldId),
Disks(<BTreeMap<String, SingleDiskModel> as Queriable>::FieldId),
Btrfs(<BTreeMap<String, BtrfsModel> as Queriable>::FieldId),
}
Variants
Hostname
KernelVersion
OsRelease
Stat(<ProcStatModel as Queriable>::FieldId)
Cpu(<SingleCpuModel as Queriable>::FieldId)
Cpus(<Vec<SingleCpuModel> as Queriable>::FieldId)
Mem(<MemoryModel as Queriable>::FieldId)
Vm(<VmModel as Queriable>::FieldId)
Disks(<BTreeMap<String, SingleDiskModel> as Queriable>::FieldId)
Btrfs(<BTreeMap<String, BtrfsModel> as Queriable>::FieldId)
Trait Implementations
sourceimpl Clone for SystemModelFieldId
impl Clone for SystemModelFieldId
sourcefn clone(&self) -> SystemModelFieldId
fn clone(&self) -> SystemModelFieldId
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 moresourceimpl Debug for SystemModelFieldId
impl Debug for SystemModelFieldId
sourceimpl EnumIter for SystemModelFieldId
impl EnumIter for SystemModelFieldId
sourcefn unit_variant_iter() -> Box<dyn Iterator<Item = Self>>
fn unit_variant_iter() -> Box<dyn Iterator<Item = Self>>
Return iterator for unit variants only.
sourcefn all_variant_iter() -> Box<dyn Iterator<Item = Self>>
fn all_variant_iter() -> Box<dyn Iterator<Item = Self>>
Return iterator for unit variants as well as nested variants.
sourceimpl FieldId for SystemModelFieldId
impl FieldId for SystemModelFieldId
type Queriable = SystemModel
sourceimpl FromStr for SystemModelFieldId
impl FromStr for SystemModelFieldId
sourceimpl PartialEq<SystemModelFieldId> for SystemModelFieldId
impl PartialEq<SystemModelFieldId> for SystemModelFieldId
sourcefn eq(&self, other: &SystemModelFieldId) -> bool
fn eq(&self, other: &SystemModelFieldId) -> bool
sourceimpl ToString for SystemModelFieldId
impl ToString for SystemModelFieldId
impl StructuralPartialEq for SystemModelFieldId
Auto Trait Implementations
impl RefUnwindSafe for SystemModelFieldId
impl Send for SystemModelFieldId
impl Sync for SystemModelFieldId
impl Unpin for SystemModelFieldId
impl UnwindSafe for SystemModelFieldId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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