pub struct TopicSummary {
pub name: String,
pub types: Vec<String>,
pub publishers: usize,
pub subscribers: usize,
pub publisher_nodes: Vec<String>,
pub subscriber_nodes: Vec<String>,
}Expand description
One topic on the graph, with the endpoints on it.
Fields§
§name: StringThe fully-qualified ROS name.
types: Vec<String>Every ROS type name announced on it — more than one means two peers disagree, which is worth seeing rather than collapsing.
publishers: usizeHow many publications.
subscribers: usizeHow many subscriptions.
publisher_nodes: Vec<String>The nodes publishing on it.
subscriber_nodes: Vec<String>The nodes subscribing to it.
Trait Implementations§
Source§impl Clone for TopicSummary
impl Clone for TopicSummary
Source§impl Debug for TopicSummary
impl Debug for TopicSummary
impl Eq for TopicSummary
Source§impl PartialEq for TopicSummary
impl PartialEq for TopicSummary
Source§impl Serialize for TopicSummary
impl Serialize for TopicSummary
impl StructuralPartialEq for TopicSummary
Auto Trait Implementations§
impl Freeze for TopicSummary
impl RefUnwindSafe for TopicSummary
impl Send for TopicSummary
impl Sync for TopicSummary
impl Unpin for TopicSummary
impl UnsafeUnpin for TopicSummary
impl UnwindSafe for TopicSummary
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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