Type Alias hedera::TopicInfoQuery

source ·
pub type TopicInfoQuery = Query<TopicInfoQueryData>;
Expand description

Retrieve the latest state of a topic.

Aliased Type§

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.