pub struct UpdateCustomList<'a> {
pub id: &'a Uuid,
pub name: &'a str,
pub visibility: CustomListVisibility,
pub manga: Vec<&'a Uuid>,
pub version: i32,
}Expand description
Update custom list (requires authentication)
Call to PUT /list/{id}
Fields§
§id: &'a UuidList id
name: &'a strList name
visibility: CustomListVisibilityList visibility
manga: Vec<&'a Uuid>List of manga ids
version: i32List version
Implementations§
Source§impl UpdateCustomList<'_>
impl UpdateCustomList<'_>
pub async fn send(&self, client: &Client) -> CustomListResponse
Trait Implementations§
Source§impl<'a> Clone for UpdateCustomList<'a>
impl<'a> Clone for UpdateCustomList<'a>
Source§fn clone(&self) -> UpdateCustomList<'a>
fn clone(&self) -> UpdateCustomList<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for UpdateCustomList<'a>
impl<'a> Debug for UpdateCustomList<'a>
Auto Trait Implementations§
impl<'a> Freeze for UpdateCustomList<'a>
impl<'a> RefUnwindSafe for UpdateCustomList<'a>
impl<'a> Send for UpdateCustomList<'a>
impl<'a> Sync for UpdateCustomList<'a>
impl<'a> Unpin for UpdateCustomList<'a>
impl<'a> UnsafeUnpin for UpdateCustomList<'a>
impl<'a> UnwindSafe for UpdateCustomList<'a>
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