pub struct CreateOrUpdateUserSettingsBuilder {
settings: Option<HashMap<String, String>>,
updated_at: Option<MangaDexDateTime>,
/* private fields */
}
Expand description
Builder for CreateOrUpdateUserSettings
.
Fields§
§settings: Option<HashMap<String, String>>
§updated_at: Option<MangaDexDateTime>
Implementations§
Source§impl CreateOrUpdateUserSettingsBuilder
impl CreateOrUpdateUserSettingsBuilder
pub fn settings<VALUE: Into<HashMap<String, String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn updated_at<VALUE: Into<MangaDexDateTime>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(&self) -> Result<CreateOrUpdateUserSettings, BuilderError>
pub fn build(&self) -> Result<CreateOrUpdateUserSettings, BuilderError>
Sourcefn create_empty() -> Self
fn create_empty() -> Self
Create an empty builder, with all fields set to None
or PhantomData
.
Source§impl CreateOrUpdateUserSettingsBuilder
impl CreateOrUpdateUserSettingsBuilder
pub async fn send(&self) -> UserSettingsResponse
Trait Implementations§
Source§impl Clone for CreateOrUpdateUserSettingsBuilder
impl Clone for CreateOrUpdateUserSettingsBuilder
Source§fn clone(&self) -> CreateOrUpdateUserSettingsBuilder
fn clone(&self) -> CreateOrUpdateUserSettingsBuilder
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 moreAuto Trait Implementations§
impl Freeze for CreateOrUpdateUserSettingsBuilder
impl !RefUnwindSafe for CreateOrUpdateUserSettingsBuilder
impl !Send for CreateOrUpdateUserSettingsBuilder
impl !Sync for CreateOrUpdateUserSettingsBuilder
impl Unpin for CreateOrUpdateUserSettingsBuilder
impl !UnwindSafe for CreateOrUpdateUserSettingsBuilder
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