pub struct PowerStatus {
pub state: PowerState,
pub usage: f64,
}
Expand description
Information about the power supply status of nScope
Fields§
§state: PowerState
§usage: f64
Trait Implementations§
Source§impl Clone for PowerStatus
impl Clone for PowerStatus
Source§fn clone(&self) -> PowerStatus
fn clone(&self) -> PowerStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PowerStatus
impl Debug for PowerStatus
Source§impl Default for PowerStatus
impl Default for PowerStatus
impl Copy for PowerStatus
Auto Trait Implementations§
impl Freeze for PowerStatus
impl RefUnwindSafe for PowerStatus
impl Send for PowerStatus
impl Sync for PowerStatus
impl Unpin for PowerStatus
impl UnwindSafe for PowerStatus
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