pub struct GraphicCard {
pub id: String,
pub name: String,
pub brand: String,
pub memory: u64,
pub temperature: u32,
}
Expand description
Information about a graphic card
Fields§
§id: String
Device id
name: String
Device id
brand: String
Device brand
memory: u64
Total memory
temperature: u32
Device temperature
Trait Implementations§
Source§impl Debug for GraphicCard
impl Debug for GraphicCard
Source§impl<'de> Deserialize<'de> for GraphicCard
impl<'de> Deserialize<'de> for GraphicCard
Source§fn 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
Auto Trait Implementations§
impl Freeze for GraphicCard
impl RefUnwindSafe for GraphicCard
impl Send for GraphicCard
impl Sync for GraphicCard
impl Unpin for GraphicCard
impl UnwindSafe for GraphicCard
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