pub struct GetDraft;
Expand description
Get a Module by it’s concrete ID.
§Authorization
- One of
Admin
,AdminJig
,, orManageSelfAsset
for owned JIGs or Playlists
§Errors
Unauthorized
if authorization is not valid.NotFound
if the module does not exist, or the parent jig doesn’t exist.
Trait Implementations§
Source§impl ApiEndpoint for GetDraft
impl ApiEndpoint for GetDraft
Source§type Path = ModuleGetDraftPath
type Path = ModuleGetDraftPath
The path type for this endpoint.
Source§type Res = ModuleResponse
type Res = ModuleResponse
The response type for this endpoint.
Source§type Err = EmptyError
type Err = EmptyError
The (inner) error type for this endpoint.
Auto Trait Implementations§
impl Freeze for GetDraft
impl RefUnwindSafe for GetDraft
impl Send for GetDraft
impl Sync for GetDraft
impl Unpin for GetDraft
impl UnwindSafe for GetDraft
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