pub struct BodyHashResult {
pub hash: String,
pub input_bytes: usize,
pub is_empty: bool,
}Expand description
Result of enriched body hashing.
Contains the SHA-256 hash plus metadata about the input.
Fields§
§hash: StringThe SHA-256 hex hash (same as ash_hash_body output, 64 chars)
input_bytes: usizeSize of the canonical body input in bytes
is_empty: boolWhether the input was empty
Trait Implementations§
Source§impl Clone for BodyHashResult
impl Clone for BodyHashResult
Source§fn clone(&self) -> BodyHashResult
fn clone(&self) -> BodyHashResult
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 BodyHashResult
impl Debug for BodyHashResult
Source§impl PartialEq for BodyHashResult
impl PartialEq for BodyHashResult
impl Eq for BodyHashResult
impl StructuralPartialEq for BodyHashResult
Auto Trait Implementations§
impl Freeze for BodyHashResult
impl RefUnwindSafe for BodyHashResult
impl Send for BodyHashResult
impl Sync for BodyHashResult
impl Unpin for BodyHashResult
impl UnsafeUnpin for BodyHashResult
impl UnwindSafe for BodyHashResult
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