pub struct UpdateDraftData;
Expand description
Update the draft data of a Course.
Note that a copy of the Course’s draft or live data can not be fetched directly, but only as a part of one of the following routes:
See Course Data
for the over-the-wire representation.
§Authorization
- One of
Admin
,AdminAsset
, orManageSelfAsset
for owned Courses
Trait Implementations§
Source§impl ApiEndpoint for UpdateDraftData
impl ApiEndpoint for UpdateDraftData
Source§type Req = CourseUpdateDraftDataRequest
type Req = CourseUpdateDraftDataRequest
The request type for this endpoint.
Source§type Path = CourseUpdateDraftDataPath
type Path = CourseUpdateDraftDataPath
The path type for this endpoint.
Source§type Err = MetadataNotFound
type Err = MetadataNotFound
The (inner) error type for this endpoint.
Auto Trait Implementations§
impl Freeze for UpdateDraftData
impl RefUnwindSafe for UpdateDraftData
impl Send for UpdateDraftData
impl Sync for UpdateDraftData
impl Unpin for UpdateDraftData
impl UnwindSafe for UpdateDraftData
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