pub struct CpuInfo {
pub module_type: String,
pub serial_number: String,
pub as_name: String,
pub copyright: String,
pub module_name: String,
}Expand description
Result of S7Client::get_cpu_info.
Fields§
§module_type: StringModule type name (e.g. "CPU 317-2 PN/DP").
serial_number: StringCPU serial number.
as_name: StringPlant identification (AS name).
copyright: StringCopyright notice.
module_name: StringModule name.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CpuInfo
impl RefUnwindSafe for CpuInfo
impl Send for CpuInfo
impl Sync for CpuInfo
impl Unpin for CpuInfo
impl UnsafeUnpin for CpuInfo
impl UnwindSafe for CpuInfo
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