pub struct PartitionedRowKey {
pub object: ObjectId,
pub partition: Partition,
pub locator: RowLocator,
}Fields§
§object: ObjectId§partition: Partition§locator: RowLocatorImplementations§
Source§impl PartitionedRowKey
impl PartitionedRowKey
pub fn new( object: impl Into<ObjectId>, partition: Partition, locator: RowLocator, ) -> Self
pub fn encoded( object: impl Into<ObjectId>, partition: Partition, locator: RowLocator, ) -> EncodedKey
pub fn object_of(key: &EncodedKey) -> Option<ObjectId>
pub fn full_scan(object: impl Into<ObjectId>) -> EncodedKeyRange
pub fn scan_range( object: impl Into<ObjectId>, last_key: Option<&EncodedKey>, ) -> EncodedKeyRange
pub fn partition_range( object: impl Into<ObjectId>, partition: Partition, ) -> EncodedKeyRange
pub fn partition_scan_range( object: impl Into<ObjectId>, partition: Partition, last_key: Option<&EncodedKey>, ) -> EncodedKeyRange
Trait Implementations§
Source§impl Clone for PartitionedRowKey
impl Clone for PartitionedRowKey
Source§fn clone(&self) -> PartitionedRowKey
fn clone(&self) -> PartitionedRowKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PartitionedRowKey
impl Debug for PartitionedRowKey
Source§impl EncodableKey for PartitionedRowKey
impl EncodableKey for PartitionedRowKey
Source§impl PartialEq for PartitionedRowKey
impl PartialEq for PartitionedRowKey
impl StructuralPartialEq for PartitionedRowKey
Auto Trait Implementations§
impl Freeze for PartitionedRowKey
impl RefUnwindSafe for PartitionedRowKey
impl Send for PartitionedRowKey
impl Sync for PartitionedRowKey
impl Unpin for PartitionedRowKey
impl UnsafeUnpin for PartitionedRowKey
impl UnwindSafe for PartitionedRowKey
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