pub struct LessonStep {
pub step_number: u32,
pub title: String,
pub instruction: String,
pub hint: Option<String>,
pub step_type: StepType,
}Expand description
A single step within a lesson
Fields§
§step_number: u32§title: String§instruction: String§hint: Option<String>§step_type: StepTypeTrait Implementations§
Source§impl Clone for LessonStep
impl Clone for LessonStep
Source§fn clone(&self) -> LessonStep
fn clone(&self) -> LessonStep
Returns a duplicate of the value. Read more
1.0.0 · 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 LessonStep
impl Debug for LessonStep
Source§impl<'de> Deserialize<'de> for LessonStep
impl<'de> Deserialize<'de> for LessonStep
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 LessonStep
impl RefUnwindSafe for LessonStep
impl Send for LessonStep
impl Sync for LessonStep
impl Unpin for LessonStep
impl UnwindSafe for LessonStep
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