Struct ella_engine::table::info::TopicBuilder
source · pub struct TopicBuilder { /* private fields */ }Implementations§
source§impl TopicBuilder
impl TopicBuilder
pub fn new() -> Self
pub fn temporary(self) -> Self
pub fn time(self, name: impl Into<String>) -> Self
pub fn index(self, col: impl Into<String>, ascending: bool) -> Self
pub fn column(self, col: impl Into<Column>) -> Self
pub fn config(self, config: TableConfig) -> Self
pub fn build(self) -> TopicInfo
Trait Implementations§
source§impl Clone for TopicBuilder
impl Clone for TopicBuilder
source§fn clone(&self) -> TopicBuilder
fn clone(&self) -> TopicBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TopicBuilder
impl Debug for TopicBuilder
source§impl Default for TopicBuilder
impl Default for TopicBuilder
source§impl From<TopicBuilder> for TableInfo
impl From<TopicBuilder> for TableInfo
source§fn from(value: TopicBuilder) -> Self
fn from(value: TopicBuilder) -> Self
Converts to this type from the input type.
source§impl From<TopicBuilder> for TopicInfo
impl From<TopicBuilder> for TopicInfo
source§fn from(value: TopicBuilder) -> Self
fn from(value: TopicBuilder) -> Self
Converts to this type from the input type.
source§impl PartialEq<TopicBuilder> for TopicBuilder
impl PartialEq<TopicBuilder> for TopicBuilder
source§fn eq(&self, other: &TopicBuilder) -> bool
fn eq(&self, other: &TopicBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for TopicBuilder
impl StructuralEq for TopicBuilder
impl StructuralPartialEq for TopicBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TopicBuilder
impl Send for TopicBuilder
impl Sync for TopicBuilder
impl Unpin for TopicBuilder
impl UnwindSafe for TopicBuilder
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.