pub struct SchemaFieldKey {
pub schema_fingerprint: SchemaFingerprint,
pub field_index: u16,
}Expand description
Key for storing individual schema fields Keyed by (schema_fingerprint, field_index) for ordered retrieval
Fields§
§schema_fingerprint: SchemaFingerprint§field_index: u16Implementations§
Source§impl SchemaFieldKey
impl SchemaFieldKey
pub fn encoded( schema_fingerprint: SchemaFingerprint, field_index: u16, ) -> EncodedKey
Sourcepub fn scan_for_schema(fingerprint: SchemaFingerprint) -> EncodedKeyRange
pub fn scan_for_schema(fingerprint: SchemaFingerprint) -> EncodedKeyRange
Scan all fields for a given schema
Trait Implementations§
Source§impl Clone for SchemaFieldKey
impl Clone for SchemaFieldKey
Source§fn clone(&self) -> SchemaFieldKey
fn clone(&self) -> SchemaFieldKey
Returns a duplicate 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 SchemaFieldKey
impl Debug for SchemaFieldKey
Source§impl EncodableKey for SchemaFieldKey
impl EncodableKey for SchemaFieldKey
Source§impl PartialEq for SchemaFieldKey
impl PartialEq for SchemaFieldKey
impl StructuralPartialEq for SchemaFieldKey
Auto Trait Implementations§
impl Freeze for SchemaFieldKey
impl RefUnwindSafe for SchemaFieldKey
impl Send for SchemaFieldKey
impl Sync for SchemaFieldKey
impl Unpin for SchemaFieldKey
impl UnsafeUnpin for SchemaFieldKey
impl UnwindSafe for SchemaFieldKey
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more