pub struct StudyLimits {
pub max_points: usize,
pub max_failures: usize,
pub deadline: Option<Duration>,
}Fields§
§max_points: usize§max_failures: usize§deadline: Option<Duration>Trait Implementations§
Source§impl Clone for StudyLimits
impl Clone for StudyLimits
Source§fn clone(&self) -> StudyLimits
fn clone(&self) -> StudyLimits
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 StudyLimits
impl Debug for StudyLimits
impl Eq for StudyLimits
Source§impl PartialEq for StudyLimits
impl PartialEq for StudyLimits
impl StructuralPartialEq for StudyLimits
Auto Trait Implementations§
impl Freeze for StudyLimits
impl RefUnwindSafe for StudyLimits
impl Send for StudyLimits
impl Sync for StudyLimits
impl Unpin for StudyLimits
impl UnsafeUnpin for StudyLimits
impl UnwindSafe for StudyLimits
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