pub struct CreateOrUpdateUserSettings {
pub settings: HashMap<String, String>,
pub updated_at: MangaDexDateTime,
/* private fields */
}
Expand description
Create or update a user’s Settings.
This requires authentication.
Makes a request to POST /settings
.
Fields§
§settings: HashMap<String, String>
§updated_at: MangaDexDateTime
Implementations§
Source§impl CreateOrUpdateUserSettings
impl CreateOrUpdateUserSettings
Sourcepub async fn send(&self) -> UserSettingsResponse
pub async fn send(&self) -> UserSettingsResponse
Send the request.
Trait Implementations§
Source§impl Clone for CreateOrUpdateUserSettings
impl Clone for CreateOrUpdateUserSettings
Source§fn clone(&self) -> CreateOrUpdateUserSettings
fn clone(&self) -> CreateOrUpdateUserSettings
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 CreateOrUpdateUserSettings
impl Debug for CreateOrUpdateUserSettings
Auto Trait Implementations§
impl Freeze for CreateOrUpdateUserSettings
impl !RefUnwindSafe for CreateOrUpdateUserSettings
impl !Send for CreateOrUpdateUserSettings
impl !Sync for CreateOrUpdateUserSettings
impl Unpin for CreateOrUpdateUserSettings
impl !UnwindSafe for CreateOrUpdateUserSettings
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