Struct fdb_rl::raw_record::primary_key::RawRecordPrimaryKeySchema
source · pub struct RawRecordPrimaryKeySchema {
inner: TupleSchema,
}
Expand description
Represents the schema for a RawRecordPrimaryKey
.
It consists of a TupleSchema
. When we have a value of
RawRecordPrimaryKeySchema
, that means that the TupleSchema
satisfies the constraints to be a primary key schema.
Warning: This type is not meant to be public. We need to make this type public to support integration tests. Do not use this type in your code.
Fields§
§inner: TupleSchema
Implementations§
source§impl RawRecordPrimaryKeySchema
impl RawRecordPrimaryKeySchema
sourcefn get_tuple_schema_ref(&self) -> &TupleSchema
fn get_tuple_schema_ref(&self) -> &TupleSchema
Get reference to TupleSchema
.
Trait Implementations§
source§impl Clone for RawRecordPrimaryKeySchema
impl Clone for RawRecordPrimaryKeySchema
source§fn clone(&self) -> RawRecordPrimaryKeySchema
fn clone(&self) -> RawRecordPrimaryKeySchema
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RawRecordPrimaryKeySchema
impl Debug for RawRecordPrimaryKeySchema
source§impl PartialEq<RawRecordPrimaryKeySchema> for RawRecordPrimaryKeySchema
impl PartialEq<RawRecordPrimaryKeySchema> for RawRecordPrimaryKeySchema
source§fn eq(&self, other: &RawRecordPrimaryKeySchema) -> bool
fn eq(&self, other: &RawRecordPrimaryKeySchema) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<TupleSchema> for RawRecordPrimaryKeySchema
impl TryFrom<TupleSchema> for RawRecordPrimaryKeySchema
source§fn try_from(tuple_schema: TupleSchema) -> FdbResult<RawRecordPrimaryKeySchema>
fn try_from(tuple_schema: TupleSchema) -> FdbResult<RawRecordPrimaryKeySchema>
Performs the conversion.
impl StructuralPartialEq for RawRecordPrimaryKeySchema
Auto Trait Implementations§
impl RefUnwindSafe for RawRecordPrimaryKeySchema
impl Send for RawRecordPrimaryKeySchema
impl Sync for RawRecordPrimaryKeySchema
impl Unpin for RawRecordPrimaryKeySchema
impl UnwindSafe for RawRecordPrimaryKeySchema
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