pub struct Column<'a> {
pub _tab: Table<'a>,
}Fields§
§_tab: Table<'a>Implementations§
Source§impl<'a> Column<'a>
impl<'a> Column<'a>
pub const VT_INDEX: VOffsetT = 4
pub const VT_NAME: VOffsetT = 6
pub const VT_TYPE_: VOffsetT = 8
pub const VT_TITLE: VOffsetT = 10
pub const VT_DESCRIPTION: VOffsetT = 12
pub const VT_PRECISION: VOffsetT = 14
pub const VT_SCALE: VOffsetT = 16
pub const VT_NULLABLE: VOffsetT = 18
pub const VT_UNIQUE: VOffsetT = 20
pub const VT_PRIMARY_KEY: VOffsetT = 22
pub const VT_METADATA: VOffsetT = 24
pub unsafe fn init_from_table(table: Table<'a>) -> Self
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: Allocator + 'bldr>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args ColumnArgs<'args>, ) -> WIPOffset<Column<'bldr>>
pub fn index(&self) -> u16
pub fn name(&self) -> &'a str
pub fn type_(&self) -> ColumnType
pub fn title(&self) -> Option<&'a str>
pub fn description(&self) -> Option<&'a str>
pub fn precision(&self) -> i32
pub fn scale(&self) -> i32
pub fn nullable(&self) -> bool
pub fn unique(&self) -> bool
pub fn primary_key(&self) -> bool
pub fn metadata(&self) -> Option<&'a str>
Trait Implementations§
Source§impl<'a> PartialEq for Column<'a>
impl<'a> PartialEq for Column<'a>
impl<'a> Copy for Column<'a>
impl<'a> StructuralPartialEq for Column<'a>
Auto Trait Implementations§
impl<'a> Freeze for Column<'a>
impl<'a> RefUnwindSafe for Column<'a>
impl<'a> Send for Column<'a>
impl<'a> Sync for Column<'a>
impl<'a> Unpin for Column<'a>
impl<'a> UnsafeUnpin for Column<'a>
impl<'a> UnwindSafe for Column<'a>
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