pub struct Update;
Expand description
Update an Course Units to a draft Course.
§Authorization
- Standard +
UserScope::ManageJig
§Errors
Unauthorized
if authorization is not valid.Forbidden
if the user does not have sufficient permission to perform the action.BadRequest
if the request is missing/invalid.
Trait Implementations§
Source§impl ApiEndpoint for Update
impl ApiEndpoint for Update
Source§type Path = UpdateCourseUnitPath
type Path = UpdateCourseUnitPath
The path type for this endpoint.
Source§type Req = CourseUnitUpdateRequest
type Req = CourseUnitUpdateRequest
The request type for this endpoint.
Source§type Err = EmptyError
type Err = EmptyError
The (inner) error type for this endpoint.
Auto Trait Implementations§
impl Freeze for Update
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnwindSafe for Update
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