#[non_exhaustive]pub struct MemoryModule {
pub size: Bytes,
pub kind: MemoryKind,
pub form: MemoryForm,
pub speed_mts: Option<u32>,
pub configured_speed_mts: Option<u32>,
pub locator: Option<String>,
pub manufacturer: Option<String>,
pub part_number: Option<String>,
}Expand description
An installed memory module. Never the serial number.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.size: BytesIts size.
kind: MemoryKindIts technology.
form: MemoryFormIts form.
speed_mts: Option<u32>Rated speed in mega-transfers per second.
configured_speed_mts: Option<u32>The speed it is configured to run at.
locator: Option<String>The slot: “DIMM_A1”.
manufacturer: Option<String>The maker.
part_number: Option<String>The part number.
Trait Implementations§
Source§impl Clone for MemoryModule
impl Clone for MemoryModule
Source§impl Debug for MemoryModule
impl Debug for MemoryModule
impl Eq for MemoryModule
Source§impl PartialEq for MemoryModule
impl PartialEq for MemoryModule
impl StructuralPartialEq for MemoryModule
Auto Trait Implementations§
impl Forget for MemoryModule
impl Freeze for MemoryModule
impl Move for MemoryModule
impl RefUnwindSafe for MemoryModule
impl Send for MemoryModule
impl Sync for MemoryModule
impl Unpin for MemoryModule
impl UnsafeUnpin for MemoryModule
impl UnwindSafe for MemoryModule
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