pub struct UnitInfo {
pub name: String,
pub id: String,
pub serial: String,
pub firmware_version: String,
}Fields§
§name: String§id: String§serial: String§firmware_version: StringTrait Implementations§
Source§impl From<nvmlUnitInfo_st> for UnitInfo
impl From<nvmlUnitInfo_st> for UnitInfo
Source§fn from(value: nvmlUnitInfo_t) -> Self
fn from(value: nvmlUnitInfo_t) -> Self
Converts to this type from the input type.
impl Eq for UnitInfo
impl StructuralPartialEq for UnitInfo
Auto Trait Implementations§
impl Freeze for UnitInfo
impl RefUnwindSafe for UnitInfo
impl Send for UnitInfo
impl Sync for UnitInfo
impl Unpin for UnitInfo
impl UnsafeUnpin for UnitInfo
impl UnwindSafe for UnitInfo
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