pub struct LessonsConfig {
pub practice_mode: String,
pub track: String,
pub real_mode_intro_shown: bool,
}Expand description
Lesson practice settings
Fields§
§practice_mode: StringWhere lesson commands execute: “simulated” (safe virtual sandbox, the default) or “real” (real shell inside ~/ArcAcademy/playground)
track: StringLearning track shown first: “explorer” (younger learners, story lessons) or “operator” (teens and adults)
real_mode_intro_shown: boolWhether the one-time real-mode explainer has been shown
Implementations§
Trait Implementations§
Source§impl Clone for LessonsConfig
impl Clone for LessonsConfig
Source§impl Debug for LessonsConfig
impl Debug for LessonsConfig
Source§impl Default for LessonsConfig
impl Default for LessonsConfig
Source§impl<'de> Deserialize<'de> for LessonsConfig
impl<'de> Deserialize<'de> for LessonsConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LessonsConfig
impl RefUnwindSafe for LessonsConfig
impl Send for LessonsConfig
impl Sync for LessonsConfig
impl Unpin for LessonsConfig
impl UnsafeUnpin for LessonsConfig
impl UnwindSafe for LessonsConfig
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