pub struct RosNode {
pub name: Option<String>,
pub namespace: Option<String>,
pub is_active: Option<bool>,
pub cpu_pct: Option<f64>,
pub memory_bytes: Option<u64>,
pub pub_count: Option<u32>,
pub sub_count: Option<u32>,
}Expand description
ROS node status.
Fields§
§name: Option<String>Node name
namespace: Option<String>Node namespace
is_active: Option<bool>Whether node is active
cpu_pct: Option<f64>CPU usage percentage
memory_bytes: Option<u64>Memory usage in bytes
pub_count: Option<u32>Published topic count
sub_count: Option<u32>Subscribed topic count
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RosNode
impl<'de> Deserialize<'de> for RosNode
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 RosNode
impl RefUnwindSafe for RosNode
impl Send for RosNode
impl Sync for RosNode
impl Unpin for RosNode
impl UnwindSafe for RosNode
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