pub struct ComparisonWithOtherFile {
pub signed_data: bool,
pub comparison_type: QueryComparisonType,
pub size: u32,
pub mask: Option<Box<[u8]>>,
pub file1: FileOffset,
pub file2: FileOffset,
}
Expand description
Compare content of 2 files optionally masked
Fields§
§signed_data: bool
§comparison_type: QueryComparisonType
§size: u32
§mask: Option<Box<[u8]>>
§file1: FileOffset
§file2: FileOffset
Implementations§
source§impl ComparisonWithOtherFile
impl ComparisonWithOtherFile
pub fn validate(&self) -> Result<(), QueryValidationError>
Trait Implementations§
source§impl Clone for ComparisonWithOtherFile
impl Clone for ComparisonWithOtherFile
source§fn clone(&self) -> ComparisonWithOtherFile
fn clone(&self) -> ComparisonWithOtherFile
Returns a copy 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 Codec for ComparisonWithOtherFile
impl Codec for ComparisonWithOtherFile
type Error = QueryOperandDecodingError
source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Computes the number of bytes required to encode the item.
source§unsafe fn encode_in(&self, out: &mut [u8]) -> usize
unsafe fn encode_in(&self, out: &mut [u8]) -> usize
Encode the item into a given byte array. Read more
source§impl Debug for ComparisonWithOtherFile
impl Debug for ComparisonWithOtherFile
source§impl Display for ComparisonWithOtherFile
impl Display for ComparisonWithOtherFile
source§impl PartialEq for ComparisonWithOtherFile
impl PartialEq for ComparisonWithOtherFile
source§fn eq(&self, other: &ComparisonWithOtherFile) -> bool
fn eq(&self, other: &ComparisonWithOtherFile) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ComparisonWithOtherFile
Auto Trait Implementations§
impl Freeze for ComparisonWithOtherFile
impl RefUnwindSafe for ComparisonWithOtherFile
impl Send for ComparisonWithOtherFile
impl Sync for ComparisonWithOtherFile
impl Unpin for ComparisonWithOtherFile
impl UnwindSafe for ComparisonWithOtherFile
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