pub struct BatteryCapability {
pub status: SupportStatus,
pub driver: String,
pub read_only: bool,
}Fields§
§status: SupportStatus§driver: String§read_only: boolTrait Implementations§
Source§impl Clone for BatteryCapability
impl Clone for BatteryCapability
Source§fn clone(&self) -> BatteryCapability
fn clone(&self) -> BatteryCapability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BatteryCapability
impl Debug for BatteryCapability
Source§impl<'de> Deserialize<'de> for BatteryCapability
impl<'de> Deserialize<'de> for BatteryCapability
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 BatteryCapability
impl RefUnwindSafe for BatteryCapability
impl Send for BatteryCapability
impl Sync for BatteryCapability
impl Unpin for BatteryCapability
impl UnsafeUnpin for BatteryCapability
impl UnwindSafe for BatteryCapability
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