pub struct Delete;
Expand description
Delete a Course.
§Authorization
- Creator ID of Course
- One of
Admin
,AdminAsset
, orManageSelfAsset
for owned Courses
Trait Implementations§
Source§impl ApiEndpoint for Delete
impl ApiEndpoint for Delete
Source§type Path = CourseDeletePath
type Path = CourseDeletePath
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 Delete
impl RefUnwindSafe for Delete
impl Send for Delete
impl Sync for Delete
impl Unpin for Delete
impl UnwindSafe for Delete
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