Struct tarantool::tuple::KeyDefPart
source · 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 try_from_index_part(p: &'a Part) -> Option<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>
source§fn eq(&self, other: &KeyDefPart<'a>) -> bool
fn eq(&self, other: &KeyDefPart<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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