Struct taos_query::helpers::Topic
source · pub struct Topic { /* private fields */ }Expand description
Information for show topics record.
Implementations§
source§impl Topic
impl Topic
sourcepub fn create_time(&self) -> &DateTime<Local>
pub fn create_time(&self) -> &DateTime<Local>
Created time of the topic
sourcepub fn is_db_topic(&self) -> bool
pub fn is_db_topic(&self) -> bool
Check if the topic is a database-scope topic, otherwise is table-scope topic.
pub fn is_stable_topic(&self) -> bool
Trait Implementations§
source§impl<'de> Deserialize<'de> for Topic
impl<'de> Deserialize<'de> for Topic
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