pub struct TableSet { /* private fields */ }
Implementations§
source§impl TableSet
impl TableSet
pub fn new(tables: Vec<Table>) -> Result<Self, Error>
pub fn parse<S: AsRef<str>>(table_set: S) -> Result<Self, Error>
pub fn lookup_table(&self, ident: &Identifier) -> Result<&Table, Error>
pub fn to_protoql(&self) -> String
pub fn to_protobuf(&self) -> String
pub fn describe_keys(&self) -> Vec<String>
Trait Implementations§
source§impl PartialEq for TableSet
impl PartialEq for TableSet
impl Eq for TableSet
impl StructuralPartialEq for TableSet
Auto Trait Implementations§
impl RefUnwindSafe for TableSet
impl Send for TableSet
impl Sync for TableSet
impl Unpin for TableSet
impl UnwindSafe for TableSet
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