pub struct Unit<'a> {
pub lesson: &'a str,
pub grade: u8,
pub rank: usize,
}Expand description
One graded apply as the policy sees it, aligned with the check’s applies.
Fields§
§lesson: &'a str§grade: u83 certain, 2 likely, 1 worth a thought.
rank: usizeIts place in the model’s applies, 0 first.
Trait Implementations§
impl<'a> StructuralPartialEq for Unit<'a>
Auto Trait Implementations§
impl<'a> Freeze for Unit<'a>
impl<'a> RefUnwindSafe for Unit<'a>
impl<'a> Send for Unit<'a>
impl<'a> Sync for Unit<'a>
impl<'a> Unpin for Unit<'a>
impl<'a> UnsafeUnpin for Unit<'a>
impl<'a> UnwindSafe for Unit<'a>
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