pub struct GetLive;
Expand description
Get an Course Unit on a live Course
§Authorization
Standard
§Errors
Unauthorized
if authorization is not valid.NotFound
if the Course Unit or the parent Course doesn’t exist.
Trait Implementations§
Source§impl ApiEndpoint for GetLive
impl ApiEndpoint for GetLive
Source§type Res = CourseUnit
type Res = CourseUnit
The response type for this endpoint.
Source§type Path = GetCourseUnitLivePath
type Path = GetCourseUnitLivePath
The path type for this endpoint.
Source§type Err = EmptyError
type Err = EmptyError
The (inner) error type for this endpoint.
Auto Trait Implementations§
impl Freeze for GetLive
impl RefUnwindSafe for GetLive
impl Send for GetLive
impl Sync for GetLive
impl Unpin for GetLive
impl UnwindSafe for GetLive
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