Struct pancake_types::types::PrimaryKey
source · pub struct PrimaryKey(pub Datum);Tuple Fields§
§0: DatumMethods from Deref<Target = Datum>§
pub fn ser(&self, w: &mut impl Write) -> Result<WriteLen>
fn ser_<const IS_ROOT: bool>(&self, w: &mut impl Write) -> Result<WriteLen>
fn intra_tuple_datum_len<const IS_ROOT: bool>(&self) -> Result<DatumBodyLen>
Trait Implementations§
source§impl Debug for PrimaryKey
impl Debug for PrimaryKey
source§impl Deref for PrimaryKey
impl Deref for PrimaryKey
source§impl From<Datum> for PrimaryKey
impl From<Datum> for PrimaryKey
source§fn from(original: Datum) -> PrimaryKey
fn from(original: Datum) -> PrimaryKey
Converts to this type from the input type.
source§impl Ord for PrimaryKey
impl Ord for PrimaryKey
source§fn cmp(&self, other: &PrimaryKey) -> Ordering
fn cmp(&self, other: &PrimaryKey) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<&PrimaryKey> for PKShared
impl PartialEq<&PrimaryKey> for PKShared
source§fn eq(&self, other: &&PrimaryKey) -> bool
fn eq(&self, other: &&PrimaryKey) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialEq<PrimaryKey> for PKShared
impl PartialEq<PrimaryKey> for PKShared
source§fn eq(&self, other: &PrimaryKey) -> bool
fn eq(&self, other: &PrimaryKey) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialEq for PrimaryKey
impl PartialEq for PrimaryKey
source§fn eq(&self, other: &PrimaryKey) -> bool
fn eq(&self, other: &PrimaryKey) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<&PrimaryKey> for PKShared
impl PartialOrd<&PrimaryKey> for PKShared
source§fn partial_cmp(&self, other: &&PrimaryKey) -> Option<Ordering>
fn partial_cmp(&self, other: &&PrimaryKey) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl PartialOrd<PrimaryKey> for PKShared
impl PartialOrd<PrimaryKey> for PKShared
source§fn partial_cmp(&self, other: &PrimaryKey) -> Option<Ordering>
fn partial_cmp(&self, other: &PrimaryKey) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl PartialOrd for PrimaryKey
impl PartialOrd for PrimaryKey
source§fn partial_cmp(&self, other: &PrimaryKey) -> Option<Ordering>
fn partial_cmp(&self, other: &PrimaryKey) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for PrimaryKey
impl StructuralEq for PrimaryKey
impl StructuralPartialEq for PrimaryKey
Auto Trait Implementations§
impl RefUnwindSafe for PrimaryKey
impl Send for PrimaryKey
impl Sync for PrimaryKey
impl Unpin for PrimaryKey
impl UnwindSafe for PrimaryKey
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