pub struct OrgBluezBattery1Properties<'a>(pub &'a PropMap);
Tuple Fields§
§0: &'a PropMap
Implementations§
source§impl<'a> OrgBluezBattery1Properties<'a>
impl<'a> OrgBluezBattery1Properties<'a>
pub fn from_interfaces(interfaces: &'a HashMap<String, PropMap>) -> Option<Self>
pub fn percentage(&self) -> Option<u8>
Trait Implementations§
source§impl<'a> Clone for OrgBluezBattery1Properties<'a>
impl<'a> Clone for OrgBluezBattery1Properties<'a>
source§fn clone(&self) -> OrgBluezBattery1Properties<'a>
fn clone(&self) -> OrgBluezBattery1Properties<'a>
Returns a copy 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 more