Struct taos_query::helpers::Topic
source · [−]pub struct Topic { /* private fields */ }Expand description
Information for show topics record.
Implementations
sourceimpl 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
sourceimpl<'de> Deserialize<'de> for Topic
impl<'de> Deserialize<'de> for Topic
sourcefn 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
sourceimpl PartialEq<Topic> for Topic
impl PartialEq<Topic> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more