pub struct Publish;
Expand description
Publish a Course draft to live by copying over the Coursedata.
§Authorization
- Creator ID of Course
- One of
Admin
,AdminAsset
, orManageSelfAsset
Trait Implementations§
Source§impl ApiEndpoint for Publish
impl ApiEndpoint for Publish
Source§type Path = CoursePublishPath
type Path = CoursePublishPath
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 Publish
impl RefUnwindSafe for Publish
impl Send for Publish
impl Sync for Publish
impl Unpin for Publish
impl UnwindSafe for Publish
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