pub struct ServerlessSecondaryIndexEntry {
pub collection: String,
pub range_start: Vec<u8>,
pub range_end: Vec<u8>,
pub relative_path: PathBuf,
pub offset: u64,
pub bytes: u64,
pub checksum: u32,
pub content_hash: ServerlessContentHash,
pub hot: bool,
}Fields§
§collection: String§range_start: Vec<u8>§range_end: Vec<u8>§relative_path: PathBuf§offset: u64§bytes: u64§checksum: u32§content_hash: ServerlessContentHash§hot: boolImplementations§
Source§impl ServerlessSecondaryIndexEntry
impl ServerlessSecondaryIndexEntry
pub fn hydration_request(&self) -> ServerlessHydrationRequest
Trait Implementations§
Source§impl Clone for ServerlessSecondaryIndexEntry
impl Clone for ServerlessSecondaryIndexEntry
Source§fn clone(&self) -> ServerlessSecondaryIndexEntry
fn clone(&self) -> ServerlessSecondaryIndexEntry
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 moreimpl Eq for ServerlessSecondaryIndexEntry
Source§impl From<&ServerlessExtentRef> for ServerlessSecondaryIndexEntry
impl From<&ServerlessExtentRef> for ServerlessSecondaryIndexEntry
Source§fn from(extent: &ServerlessExtentRef) -> Self
fn from(extent: &ServerlessExtentRef) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ServerlessSecondaryIndexEntry
impl PartialEq for ServerlessSecondaryIndexEntry
Source§fn eq(&self, other: &ServerlessSecondaryIndexEntry) -> bool
fn eq(&self, other: &ServerlessSecondaryIndexEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServerlessSecondaryIndexEntry
Auto Trait Implementations§
impl Freeze for ServerlessSecondaryIndexEntry
impl RefUnwindSafe for ServerlessSecondaryIndexEntry
impl Send for ServerlessSecondaryIndexEntry
impl Sync for ServerlessSecondaryIndexEntry
impl Unpin for ServerlessSecondaryIndexEntry
impl UnsafeUnpin for ServerlessSecondaryIndexEntry
impl UnwindSafe for ServerlessSecondaryIndexEntry
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