pub struct BinaryHashResult {
pub full_hash: String,
pub code_hash: String,
pub text_section_size: u64,
pub is_debug: bool,
}Expand description
Result of computing hashes for a binary file.
Fields§
§full_hash: StringHash of the entire binary file (includes non-deterministic elements).
code_hash: StringHash of only code sections (.text, .rodata) - deterministic across builds.
text_section_size: u64Size of the .text section in bytes.
is_debug: boolWhether the binary contains debug information.
Trait Implementations§
Source§impl Clone for BinaryHashResult
impl Clone for BinaryHashResult
Source§fn clone(&self) -> BinaryHashResult
fn clone(&self) -> BinaryHashResult
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 BinaryHashResult
impl Debug for BinaryHashResult
Source§impl<'de> Deserialize<'de> for BinaryHashResult
impl<'de> Deserialize<'de> for BinaryHashResult
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
Source§impl PartialEq for BinaryHashResult
impl PartialEq for BinaryHashResult
Source§fn eq(&self, other: &BinaryHashResult) -> bool
fn eq(&self, other: &BinaryHashResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BinaryHashResult
impl Serialize for BinaryHashResult
impl Eq for BinaryHashResult
impl StructuralPartialEq for BinaryHashResult
Auto Trait Implementations§
impl Freeze for BinaryHashResult
impl RefUnwindSafe for BinaryHashResult
impl Send for BinaryHashResult
impl Sync for BinaryHashResult
impl Unpin for BinaryHashResult
impl UnsafeUnpin for BinaryHashResult
impl UnwindSafe for BinaryHashResult
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,
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.