pub struct TableBuilder(/* private fields */);Expand description
Compact table builder.
Implementations§
Source§impl TableBuilder
impl TableBuilder
Sourcepub fn constraint(self, value: Constraint) -> Self
pub fn constraint(self, value: Constraint) -> Self
Adds an unordered constraint declaration.
Sourcepub fn build(self) -> Table
pub fn build(self) -> Table
Finishes the declaration; graph validation occurs in SchemaBuilder::build.
Auto Trait Implementations§
impl Freeze for TableBuilder
impl RefUnwindSafe for TableBuilder
impl Send for TableBuilder
impl Sync for TableBuilder
impl Unpin for TableBuilder
impl UnsafeUnpin for TableBuilder
impl UnwindSafe for TableBuilder
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