pub struct Table(pub Rc<Table_>);Tuple Fields§
§0: Rc<Table_>Implementations§
Source§impl Table
impl Table
Sourcepub fn field(
&self,
v: &mut Version,
schema_id: impl ToString,
id: impl ToString,
type_: FieldType,
) -> Field
pub fn field( &self, v: &mut Version, schema_id: impl ToString, id: impl ToString, type_: FieldType, ) -> Field
Define a field
pub fn rowid_field(&self, v: &mut Version, custom_type: Option<String>) -> Field
Sourcepub fn constraint(
&self,
v: &mut Version,
schema_id: impl ToString,
id: impl ToString,
type_: ConstraintType,
)
pub fn constraint( &self, v: &mut Version, schema_id: impl ToString, id: impl ToString, type_: ConstraintType, )
Define a constraint
Trait Implementations§
impl Eq for Table
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl !Send for Table
impl !Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
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