pub struct LessonMeta {
pub lesson_type: Option<String>,
pub lesson_scope: Option<String>,
pub lesson_importance: Option<String>,
pub lesson_conditions: Vec<String>,
}Expand description
Phase 2.3: grouped lesson metadata. Replaces the flat lesson_*
quartet on RememberOptions so customers don’t have to remember which
of twenty-odd parameters belong together. Used via
RememberBuilder::lesson(LessonMeta { ... }).
Fields§
§lesson_type: Option<String>§lesson_scope: Option<String>§lesson_importance: Option<String>§lesson_conditions: Vec<String>Trait Implementations§
Source§impl Clone for LessonMeta
impl Clone for LessonMeta
Source§fn clone(&self) -> LessonMeta
fn clone(&self) -> LessonMeta
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 LessonMeta
impl Debug for LessonMeta
Source§impl Default for LessonMeta
impl Default for LessonMeta
Source§fn default() -> LessonMeta
fn default() -> LessonMeta
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LessonMeta
impl RefUnwindSafe for LessonMeta
impl Send for LessonMeta
impl Sync for LessonMeta
impl Unpin for LessonMeta
impl UnsafeUnpin for LessonMeta
impl UnwindSafe for LessonMeta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request