pub struct UpdateDraftData;
Expand description
Update the draft data of a Resource.
Note that a copy of the Resource’s draft or live data can not be fetched directly, but only as a part of one of the following routes:
See ResourceData
for the over-the-wire representation.
§Authorization
- One of
Admin
,AdminResource
,, orManageSelfResource
for owned Resources
Trait Implementations§
Source§impl ApiEndpoint for UpdateDraftData
impl ApiEndpoint for UpdateDraftData
Source§type Path = ResourceUpdateDraftDataPath
type Path = ResourceUpdateDraftDataPath
The path type for this endpoint.
Source§type Req = ResourceUpdateDraftDataRequest
type Req = ResourceUpdateDraftDataRequest
The request 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