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
source§impl PartialEq for Topic
impl PartialEq for Topic
impl Eq for Topic
impl StructuralEq for Topic
impl StructuralPartialEq for Topic
Auto Trait Implementations§
impl RefUnwindSafe for Topic
impl Send for Topic
impl Sync for Topic
impl Unpin for Topic
impl UnwindSafe for Topic
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