pub struct ColMeta {
pub col_id: u32,
pub name: Option<String>,
pub flags: u32,
pub default: Option<Vec<u8>>,
}Expand description
Metadata about a column.
Stored in the system catalog (table 0) and serialized using bitcode.
Fields§
§col_id: u32Unique identifier for this column within its table.
name: Option<String>Optional human-readable name for the column.
flags: u32Bitflags for column properties (e.g., nullable, indexed).
default: Option<Vec<u8>>Optional serialized default value for the column.
Trait Implementations§
impl<'__de> Decode<'__de> for ColMetawhere
'__de:,
impl Encode for ColMeta
impl Eq for ColMeta
impl StructuralPartialEq for ColMeta
Auto Trait Implementations§
impl Freeze for ColMeta
impl RefUnwindSafe for ColMeta
impl Send for ColMeta
impl Sync for ColMeta
impl Unpin for ColMeta
impl UnwindSafe for ColMeta
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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