#[repr(transparent)]pub struct ColId(pub u16);Expand description
The position of a column within a table.
A ColId does NOT uniquely identify a column within a database!
A pair (TableId, ColId) is required for this.
Each table will have columns with ColId values ranging from 0 to n-1, where n is the number of columns in the table.
A table may have at most u16::MAX columns.
Tuple Fields§
§0: u16Implementations§
Trait Implementations§
Source§impl Ord for ColId
impl Ord for ColId
Source§impl PartialOrd for ColId
impl PartialOrd for ColId
impl Copy for ColId
impl Eq for ColId
impl IsEnabled for ColId
impl StructuralPartialEq for ColId
Auto Trait Implementations§
impl Freeze for ColId
impl RefUnwindSafe for ColId
impl Send for ColId
impl Sync for ColId
impl Unpin for ColId
impl UnsafeUnpin for ColId
impl UnwindSafe for ColId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more