pub struct Problem {
pub summary: ProblemSummary,
pub difficulty: Option<Difficulty>,
pub statement_html: Box<str>,
pub attribution: &'static str,
pub license: &'static str,
pub license_url: &'static str,
}Fields§
§summary: ProblemSummary§difficulty: Option<Difficulty>§statement_html: Box<str>Public HTML fragment from Project Euler’s minimal problem endpoint
Callers must treat this as untrusted HTML and sanitize it before rendering
attribution: &'static str§license: &'static str§license_url: &'static strTrait Implementations§
impl Eq for Problem
impl StructuralPartialEq for Problem
Auto Trait Implementations§
impl Freeze for Problem
impl RefUnwindSafe for Problem
impl Send for Problem
impl Sync for Problem
impl Unpin for Problem
impl UnsafeUnpin for Problem
impl UnwindSafe for Problem
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