pub struct EligibilityInput {
pub file_size: u64,
pub gpu_available: bool,
pub entropy: f64,
}Expand description
Input data for the eligibility scorer.
Fields§
§file_size: u64File size in bytes.
gpu_available: boolWhether a compatible GPU was discovered.
entropy: f64Shannon entropy of the file header sample (bits/byte).
Trait Implementations§
Source§impl Clone for EligibilityInput
impl Clone for EligibilityInput
Source§fn clone(&self) -> EligibilityInput
fn clone(&self) -> EligibilityInput
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 moreAuto Trait Implementations§
impl Freeze for EligibilityInput
impl RefUnwindSafe for EligibilityInput
impl Send for EligibilityInput
impl Sync for EligibilityInput
impl Unpin for EligibilityInput
impl UnsafeUnpin for EligibilityInput
impl UnwindSafe for EligibilityInput
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