pub struct LessonScope {
pub agent: String,
pub user: Option<String>,
}Expand description
Whose lessons a run reads.
Fields§
§agent: StringThe agent the lessons belong to.
user: Option<String>The user the run is for. None reads only the lessons of the agent as a whole.
Trait Implementations§
Source§impl Clone for LessonScope
impl Clone for LessonScope
Source§impl Debug for LessonScope
impl Debug for LessonScope
impl Eq for LessonScope
Source§impl PartialEq for LessonScope
impl PartialEq for LessonScope
impl StructuralPartialEq for LessonScope
Auto Trait Implementations§
impl Forget for LessonScope
impl Freeze for LessonScope
impl Move for LessonScope
impl RefUnwindSafe for LessonScope
impl Send for LessonScope
impl Sync for LessonScope
impl Unpin for LessonScope
impl UnsafeUnpin for LessonScope
impl UnwindSafe for LessonScope
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.