pub struct ResponseLesson {
pub lesson: Lesson,
pub resources: LessonResources,
pub url: String,
}Expand description
Response containing a single lesson.
Fields§
§lesson: LessonThe lesson data.
resources: LessonResourcesRelated API resources.
url: StringAPI URL for this response.
Trait Implementations§
Source§impl Debug for ResponseLesson
impl Debug for ResponseLesson
Source§impl<'de> Deserialize<'de> for ResponseLesson
impl<'de> Deserialize<'de> for ResponseLesson
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 ResponseLesson
impl RefUnwindSafe for ResponseLesson
impl Send for ResponseLesson
impl Sync for ResponseLesson
impl Unpin for ResponseLesson
impl UnwindSafe for ResponseLesson
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