pub struct KeyDefPart<'a> {
pub field_no: u32,
pub field_type: FieldType,
pub collation: Option<Cow<'a, CStr>>,
pub is_nullable: bool,
pub path: Option<Cow<'a, CStr>>,
}
Fields§
§field_no: u32
§field_type: FieldType
§collation: Option<Cow<'a, CStr>>
§is_nullable: bool
§path: Option<Cow<'a, CStr>>
Implementations§
Source§impl<'a> KeyDefPart<'a>
impl<'a> KeyDefPart<'a>
pub fn from_index_part(p: &'a Part<u32>) -> Self
Trait Implementations§
Source§impl<'a> Debug for KeyDefPart<'a>
impl<'a> Debug for KeyDefPart<'a>
Source§impl<'a> Default for KeyDefPart<'a>
impl<'a> Default for KeyDefPart<'a>
Source§fn default() -> KeyDefPart<'a>
fn default() -> KeyDefPart<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> Hash for KeyDefPart<'a>
impl<'a> Hash for KeyDefPart<'a>
Source§impl<'a> PartialEq for KeyDefPart<'a>
impl<'a> PartialEq for KeyDefPart<'a>
impl<'a> Eq for KeyDefPart<'a>
impl<'a> StructuralPartialEq for KeyDefPart<'a>
Auto Trait Implementations§
impl<'a> Freeze for KeyDefPart<'a>
impl<'a> RefUnwindSafe for KeyDefPart<'a>
impl<'a> Send for KeyDefPart<'a>
impl<'a> Sync for KeyDefPart<'a>
impl<'a> Unpin for KeyDefPart<'a>
impl<'a> UnwindSafe for KeyDefPart<'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