pub type TopicDeleteTransaction = Transaction<TopicDeleteTransactionData>;
Expand description

Delete a topic.

No more transactions or queries on the topic will succeed.

If an admin_key is set, this transaction must be signed by that key. If there is no admin_key, this transaction will fail UNAUTHORIZED.

Aliased Type§

struct TopicDeleteTransaction { /* private fields */ }

Implementations§

source§

impl TopicDeleteTransaction

source

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

Returns the ID of the topic which is being deleted in this transaction.

source

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

Sets the topic ID which is being deleted in this transaction.