pub struct Fired {
pub when: String,
pub weight: f64,
pub score: f64,
}Expand description
One rule’s part in an item’s score.
Fields§
§when: StringThe rule’s if, as written.
weight: f64§score: f64What the if came to, times the weight.
Trait Implementations§
impl StructuralPartialEq for Fired
Auto Trait Implementations§
impl Freeze for Fired
impl RefUnwindSafe for Fired
impl Send for Fired
impl Sync for Fired
impl Unpin for Fired
impl UnsafeUnpin for Fired
impl UnwindSafe for Fired
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