pub struct ColumnSpec {
pub name: &'static str,
pub type_oid: Oid,
pub nullable: bool,
pub known: bool,
}Expand description
One expected result column.
Fields§
§name: &'static strExpected column name; empty means “any name” (positional match).
type_oid: OidThe canonical OID of the Rust type.
nullable: boolWhether the Rust type is nullable (Option<...>).
known: boolWhether nullable is known. For server-side expression columns the
nullability cannot be derived, so it is not enforced.
Trait Implementations§
Source§impl Clone for ColumnSpec
impl Clone for ColumnSpec
impl Copy for ColumnSpec
Source§impl Debug for ColumnSpec
impl Debug for ColumnSpec
impl Eq for ColumnSpec
Source§impl PartialEq for ColumnSpec
impl PartialEq for ColumnSpec
impl StructuralPartialEq for ColumnSpec
Auto Trait Implementations§
impl Freeze for ColumnSpec
impl RefUnwindSafe for ColumnSpec
impl Send for ColumnSpec
impl Sync for ColumnSpec
impl Unpin for ColumnSpec
impl UnsafeUnpin for ColumnSpec
impl UnwindSafe for ColumnSpec
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more