pub struct ScanDatabaseSectionHeader {
pub kind: ScanDatabaseSectionKind,
pub offset: u64,
pub byte_len: u64,
pub section_digest: u64,
}Expand description
Locator and integrity digest for one table section in the database body.
Fields§
§kind: ScanDatabaseSectionKindKind of payload this section carries.
offset: u64Byte offset of the section payload from the start of the database body.
byte_len: u64Byte length of the section payload.
section_digest: u64Integrity digest over the section payload bytes.
Trait Implementations§
Source§impl Clone for ScanDatabaseSectionHeader
impl Clone for ScanDatabaseSectionHeader
Source§fn clone(&self) -> ScanDatabaseSectionHeader
fn clone(&self) -> ScanDatabaseSectionHeader
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 ScanDatabaseSectionHeader
impl Debug for ScanDatabaseSectionHeader
Source§impl<'de> Deserialize<'de> for ScanDatabaseSectionHeader
impl<'de> Deserialize<'de> for ScanDatabaseSectionHeader
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 ScanDatabaseSectionHeader
Source§impl Hash for ScanDatabaseSectionHeader
impl Hash for ScanDatabaseSectionHeader
impl StructuralPartialEq for ScanDatabaseSectionHeader
Auto Trait Implementations§
impl Freeze for ScanDatabaseSectionHeader
impl RefUnwindSafe for ScanDatabaseSectionHeader
impl Send for ScanDatabaseSectionHeader
impl Sync for ScanDatabaseSectionHeader
impl Unpin for ScanDatabaseSectionHeader
impl UnsafeUnpin for ScanDatabaseSectionHeader
impl UnwindSafe for ScanDatabaseSectionHeader
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.