pub struct BatchLocation {
pub object_id: String,
pub byte_start: u32,
pub byte_len: u32,
}Expand description
Where a batch’s bytes live inside its object. Authored by the engine (it
owns object layout); the sequencer stores it in the index and returns it from
Sequencer::lookup.
Fields§
§object_id: StringKey of the object holding the batch.
byte_start: u32Byte offset of the batch within the object.
byte_len: u32Byte length of the batch.
Trait Implementations§
Source§impl Clone for BatchLocation
impl Clone for BatchLocation
Source§fn clone(&self) -> BatchLocation
fn clone(&self) -> BatchLocation
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 BatchLocation
impl Debug for BatchLocation
Source§impl<'de> Deserialize<'de> for BatchLocation
impl<'de> Deserialize<'de> for BatchLocation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BatchLocation
Source§impl PartialEq for BatchLocation
impl PartialEq for BatchLocation
Source§impl Serialize for BatchLocation
impl Serialize for BatchLocation
impl StructuralPartialEq for BatchLocation
Auto Trait Implementations§
impl Freeze for BatchLocation
impl RefUnwindSafe for BatchLocation
impl Send for BatchLocation
impl Sync for BatchLocation
impl Unpin for BatchLocation
impl UnsafeUnpin for BatchLocation
impl UnwindSafe for BatchLocation
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