pub struct CheckApprovalRequired {
pub manga_id: Uuid,
pub locale: Language,
/* private fields */
}
Expand description
Check if a given manga / locale for a User needs moderation approval.
This requires authentication.
Makes a request to POST /upload/check-approval-required
.
Fields§
§manga_id: Uuid
§locale: Language
Implementations§
Source§impl CheckApprovalRequired
impl CheckApprovalRequired
Sourcepub async fn send(&self) -> Result<Limited<UploadRequiredApproval>>
pub async fn send(&self) -> Result<Limited<UploadRequiredApproval>>
Send the request.
Trait Implementations§
Source§impl Clone for CheckApprovalRequired
impl Clone for CheckApprovalRequired
Source§fn clone(&self) -> CheckApprovalRequired
fn clone(&self) -> CheckApprovalRequired
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CheckApprovalRequired
impl Debug for CheckApprovalRequired
Source§impl Endpoint for CheckApprovalRequired
impl Endpoint for CheckApprovalRequired
Auto Trait Implementations§
impl Freeze for CheckApprovalRequired
impl !RefUnwindSafe for CheckApprovalRequired
impl !Send for CheckApprovalRequired
impl !Sync for CheckApprovalRequired
impl Unpin for CheckApprovalRequired
impl !UnwindSafe for CheckApprovalRequired
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