pub struct PartitionedSeriesRowKey {
pub storage: StorageId,
pub partition: Partition,
pub variant_tag: Option<u8>,
pub key: u64,
pub sequence: u64,
}Fields§
§storage: StorageId§partition: Partition§variant_tag: Option<u8>§key: u64§sequence: u64Implementations§
Source§impl PartitionedSeriesRowKey
impl PartitionedSeriesRowKey
pub const TAG: KeyTag = KeyTag::PartitionedSeriesRow
pub fn encode(&self) -> EncodedKey
pub fn decode(key: &EncodedKey) -> Option<Self>
Source§impl PartitionedSeriesRowKey
impl PartitionedSeriesRowKey
pub fn new( storage: impl Into<StorageId>, partition: Partition, variant_tag: Option<u8>, key: u64, sequence: u64, ) -> Self
pub fn encoded( storage: impl Into<StorageId>, partition: Partition, variant_tag: Option<u8>, key: u64, sequence: u64, ) -> EncodedKey
pub fn storage_of(key: &EncodedKey) -> Option<StorageId>
Trait Implementations§
Source§impl Clone for PartitionedSeriesRowKey
impl Clone for PartitionedSeriesRowKey
Source§fn clone(&self) -> PartitionedSeriesRowKey
fn clone(&self) -> PartitionedSeriesRowKey
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 PartitionedSeriesRowKey
impl Debug for PartitionedSeriesRowKey
Source§impl From<PartitionedSeriesRowKey> for TaggedKey
impl From<PartitionedSeriesRowKey> for TaggedKey
Source§fn from(key: PartitionedSeriesRowKey) -> Self
fn from(key: PartitionedSeriesRowKey) -> Self
Converts to this type from the input type.
Source§impl From<PartitionedSeriesRowKey> for StoragePartitionedSeriesKey
impl From<PartitionedSeriesRowKey> for StoragePartitionedSeriesKey
Source§fn from(key: PartitionedSeriesRowKey) -> Self
fn from(key: PartitionedSeriesRowKey) -> Self
Converts to this type from the input type.
Source§impl Hash for PartitionedSeriesRowKey
impl Hash for PartitionedSeriesRowKey
Source§impl KeyFields for PartitionedSeriesRowKey
impl KeyFields for PartitionedSeriesRowKey
Source§impl PartialEq for PartitionedSeriesRowKey
impl PartialEq for PartitionedSeriesRowKey
impl StructuralPartialEq for PartitionedSeriesRowKey
Auto Trait Implementations§
impl Freeze for PartitionedSeriesRowKey
impl RefUnwindSafe for PartitionedSeriesRowKey
impl Send for PartitionedSeriesRowKey
impl Sync for PartitionedSeriesRowKey
impl Unpin for PartitionedSeriesRowKey
impl UnsafeUnpin for PartitionedSeriesRowKey
impl UnwindSafe for PartitionedSeriesRowKey
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