pub struct WeightValidity {
pub valid: bool,
pub violations: Vec<WeightViolation>,
}Expand description
The validity verdict for one weight vector.
Fields§
§valid: bool§violations: Vec<WeightViolation>Trait Implementations§
Source§impl Clone for WeightValidity
impl Clone for WeightValidity
Source§fn clone(&self) -> WeightValidity
fn clone(&self) -> WeightValidity
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 WeightValidity
impl Debug for WeightValidity
Source§impl PartialEq for WeightValidity
impl PartialEq for WeightValidity
Source§fn eq(&self, other: &WeightValidity) -> bool
fn eq(&self, other: &WeightValidity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WeightValidity
impl Serialize for WeightValidity
impl StructuralPartialEq for WeightValidity
Auto Trait Implementations§
impl Freeze for WeightValidity
impl RefUnwindSafe for WeightValidity
impl Send for WeightValidity
impl Sync for WeightValidity
impl Unpin for WeightValidity
impl UnsafeUnpin for WeightValidity
impl UnwindSafe for WeightValidity
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