TopicInfoQuery

Type Alias TopicInfoQuery 

Source
pub type TopicInfoQuery = Query<TopicInfoQueryData>;
Expand description

Retrieve the latest state of a topic.

Aliased Type§

pub struct TopicInfoQuery { /* private fields */ }

Implementations§

Source§

impl TopicInfoQuery

Source

pub fn get_topic_id(&self) -> Option<TopicId>

Returns the topic to retrieve info about.

Source

pub fn topic_id(&mut self, id: impl Into<TopicId>) -> &mut Self

Sets the topic to retrieve info about.