#[repr(C)]pub struct sensor_msgs__msg__BatteryState {Show 16 fields
pub header: std_msgs__msg__Header,
pub voltage: f32,
pub temperature: f32,
pub current: f32,
pub charge: f32,
pub capacity: f32,
pub design_capacity: f32,
pub percentage: f32,
pub power_supply_status: u8,
pub power_supply_health: u8,
pub power_supply_technology: u8,
pub present: bool,
pub cell_voltage: rosidl_runtime_c__float__Sequence,
pub cell_temperature: rosidl_runtime_c__float__Sequence,
pub location: rosidl_runtime_c__String,
pub serial_number: rosidl_runtime_c__String,
}Fields§
§header: std_msgs__msg__Header§voltage: f32§temperature: f32§current: f32§charge: f32§capacity: f32§design_capacity: f32§percentage: f32§power_supply_status: u8§power_supply_health: u8§power_supply_technology: u8§present: bool§cell_voltage: rosidl_runtime_c__float__Sequence§cell_temperature: rosidl_runtime_c__float__Sequence§location: rosidl_runtime_c__String§serial_number: rosidl_runtime_c__StringAuto Trait Implementations§
impl Freeze for sensor_msgs__msg__BatteryState
impl RefUnwindSafe for sensor_msgs__msg__BatteryState
impl !Send for sensor_msgs__msg__BatteryState
impl !Sync for sensor_msgs__msg__BatteryState
impl Unpin for sensor_msgs__msg__BatteryState
impl UnwindSafe for sensor_msgs__msg__BatteryState
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more