pub struct ValidationResult {
pub is_valid: bool,
pub signature_valid: bool,
pub expiration_valid: bool,
pub hardware_valid: bool,
pub days_remaining: i64,
pub error: Option<String>,
}Expand description
Validation result with detailed status
Fields§
§is_valid: boolIs the license valid?
signature_valid: boolSignature verification status
expiration_valid: boolExpiration status
hardware_valid: boolHardware binding status
days_remaining: i64Days remaining until expiration
error: Option<String>Error message if invalid
Trait Implementations§
Source§impl Clone for ValidationResult
impl Clone for ValidationResult
Source§fn clone(&self) -> ValidationResult
fn clone(&self) -> ValidationResult
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 ValidationResult
impl RefUnwindSafe for ValidationResult
impl Send for ValidationResult
impl Sync for ValidationResult
impl Unpin for ValidationResult
impl UnsafeUnpin for ValidationResult
impl UnwindSafe for ValidationResult
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