pub struct PartitionLocation {
pub body_sid: u32,
pub byte_offset: u64,
}Expand description
One {BodySID, ByteOffset} pair (Table 30) locating a single Partition.
Fields§
§body_sid: u32Stream ID of the Body in that Partition (0 if none).
byte_offset: u64Byte offset from the first byte of the Header Partition Pack Key (byte 0) to the first byte of that Partition’s own Partition Pack Key.
Trait Implementations§
Source§impl Clone for PartitionLocation
impl Clone for PartitionLocation
Source§fn clone(&self) -> PartitionLocation
fn clone(&self) -> PartitionLocation
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 Copy for PartitionLocation
Source§impl Debug for PartitionLocation
impl Debug for PartitionLocation
Source§impl<'de> Deserialize<'de> for PartitionLocation
Available on crate feature serde only.
impl<'de> Deserialize<'de> for PartitionLocation
Available on crate feature
serde only.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 PartitionLocation
Source§impl Hash for PartitionLocation
impl Hash for PartitionLocation
Source§impl PartialEq for PartitionLocation
impl PartialEq for PartitionLocation
Source§impl Serialize for PartitionLocation
Available on crate feature serde only.
impl Serialize for PartitionLocation
Available on crate feature
serde only.impl StructuralPartialEq for PartitionLocation
Auto Trait Implementations§
impl Freeze for PartitionLocation
impl RefUnwindSafe for PartitionLocation
impl Send for PartitionLocation
impl Sync for PartitionLocation
impl Unpin for PartitionLocation
impl UnsafeUnpin for PartitionLocation
impl UnwindSafe for PartitionLocation
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