pub struct TableHashes {
pub table_hash: String,
pub header_hashes: HashMap<String, String>,
pub row_hashes: Option<Vec<String>>,
}Expand description
Hashes for verifying table integrity
Fields§
§table_hash: StringHash of the entire table (quick integrity check)
header_hashes: HashMap<String, String>Per-header hashes (column-level verification)
row_hashes: Option<Vec<String>>Optional: per-row hashes (fine-grained verification)
Implementations§
Trait Implementations§
Source§impl Clone for TableHashes
impl Clone for TableHashes
Source§fn clone(&self) -> TableHashes
fn clone(&self) -> TableHashes
Returns a duplicate of the value. Read more
1.0.0 · 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 TableHashes
impl Debug for TableHashes
Source§impl<'de> Deserialize<'de> for TableHashes
impl<'de> Deserialize<'de> for TableHashes
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
Auto Trait Implementations§
impl Freeze for TableHashes
impl RefUnwindSafe for TableHashes
impl Send for TableHashes
impl Sync for TableHashes
impl Unpin for TableHashes
impl UnsafeUnpin for TableHashes
impl UnwindSafe for TableHashes
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