Struct rustdds::ros2::builtin_datatypes::ROSParticipantInfo
source · pub struct ROSParticipantInfo { /* private fields */ }
👎Deprecated since 0.8.5: Use crate ros2-client instead.
Expand description
Information structure for other DomainParticipants in ROS2 network
Implementations§
source§impl ROSParticipantInfo
impl ROSParticipantInfo
pub fn new(guid: Gid, nodes: Vec<NodeInfo>) -> Self
👎Deprecated since 0.8.5: Use crate ros2-client instead.
pub fn guid(&self) -> Gid
👎Deprecated since 0.8.5: Use crate ros2-client instead.
pub fn into_nodes(self) -> Vec<NodeInfo>
👎Deprecated since 0.8.5: Use crate ros2-client instead.
pub fn nodes(&self) -> &Vec<NodeInfo>
👎Deprecated since 0.8.5: Use crate ros2-client instead.
pub fn nodes_mut(&mut self) -> &mut Vec<NodeInfo>
👎Deprecated since 0.8.5: Use crate ros2-client instead.
Trait Implementations§
source§impl Clone for ROSParticipantInfo
impl Clone for ROSParticipantInfo
source§fn clone(&self) -> ROSParticipantInfo
fn clone(&self) -> ROSParticipantInfo
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 moresource§impl Debug for ROSParticipantInfo
impl Debug for ROSParticipantInfo
source§impl<'de> Deserialize<'de> for ROSParticipantInfo
impl<'de> Deserialize<'de> for ROSParticipantInfo
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 ROSParticipantInfo
impl RefUnwindSafe for ROSParticipantInfo
impl Send for ROSParticipantInfo
impl Sync for ROSParticipantInfo
impl Unpin for ROSParticipantInfo
impl UnwindSafe for ROSParticipantInfo
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