pub struct UpdateMyAccountBuilder<'a> { /* private fields */ }Expand description
Builder for UpdateMyAccount.
Implementations§
Source§impl<'a> UpdateMyAccountBuilder<'a>
impl<'a> UpdateMyAccountBuilder<'a>
Sourcepub fn firstname<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn firstname<VALUE: Into<Cow<'a, str>>>( &mut self, value: VALUE, ) -> &mut Self
user’s firstname
Sourcepub fn lastname<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
pub fn lastname<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
user’s lastname
Sourcepub fn mail<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
pub fn mail<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
primary email of the user
Sourcepub fn mail_notification(&mut self, value: MailNotificationOption) -> &mut Self
pub fn mail_notification(&mut self, value: MailNotificationOption) -> &mut Self
mail notification option
Sourcepub fn notified_project_ids(&mut self, value: Vec<u64>) -> &mut Self
pub fn notified_project_ids(&mut self, value: Vec<u64>) -> &mut Self
project ids for which the user has explicitly turned mail notifications on
Sourcepub fn language<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
pub fn language<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
user’s language
Sourcepub fn time_zone<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn time_zone<VALUE: Into<Cow<'a, str>>>( &mut self, value: VALUE, ) -> &mut Self
user’s time zone
Sourcepub fn comments_sorting(&mut self, value: CommentsSorting) -> &mut Self
pub fn comments_sorting(&mut self, value: CommentsSorting) -> &mut Self
comments sorting order (‘asc’ or ‘desc’)
Sourcepub fn warn_on_leaving_unsaved(&mut self, value: bool) -> &mut Self
pub fn warn_on_leaving_unsaved(&mut self, value: bool) -> &mut Self
warn on leaving unsaved changes
Sourcepub fn no_self_notified(&mut self, value: bool) -> &mut Self
pub fn no_self_notified(&mut self, value: bool) -> &mut Self
no self notified
Sourcepub fn notify_about_high_priority_issues(&mut self, value: bool) -> &mut Self
pub fn notify_about_high_priority_issues(&mut self, value: bool) -> &mut Self
notify about high priority issues
Sourcepub fn textarea_font(&mut self, value: TextareaFont) -> &mut Self
pub fn textarea_font(&mut self, value: TextareaFont) -> &mut Self
textarea font (‘monospace’ or ‘proportional’)
Sourcepub fn recently_used_projects(&mut self, value: u64) -> &mut Self
pub fn recently_used_projects(&mut self, value: u64) -> &mut Self
recently used projects
Sourcepub fn history_default_tab<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn history_default_tab<VALUE: Into<Cow<'a, str>>>( &mut self, value: VALUE, ) -> &mut Self
history default tab
Sourcepub fn default_issue_query<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn default_issue_query<VALUE: Into<Cow<'a, str>>>( &mut self, value: VALUE, ) -> &mut Self
default issue query
Sourcepub fn default_project_query<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn default_project_query<VALUE: Into<Cow<'a, str>>>( &mut self, value: VALUE, ) -> &mut Self
default project query
Sourcepub fn toolbar_language_options(
&mut self,
value: Vec<ToolbarLanguage>,
) -> &mut Self
pub fn toolbar_language_options( &mut self, value: Vec<ToolbarLanguage>, ) -> &mut Self
toolbar language options (comma-separated list of languages)
Sourcepub fn auto_watch_on(&mut self, value: Vec<AutoWatchAction>) -> &mut Self
pub fn auto_watch_on(&mut self, value: Vec<AutoWatchAction>) -> &mut Self
auto watch on (comma-separated list of actions)
Sourcepub fn build(&self) -> Result<UpdateMyAccount<'a>, UpdateMyAccountBuilderError>
pub fn build(&self) -> Result<UpdateMyAccount<'a>, UpdateMyAccountBuilderError>
Trait Implementations§
Source§impl<'a> Clone for UpdateMyAccountBuilder<'a>
impl<'a> Clone for UpdateMyAccountBuilder<'a>
Source§fn clone(&self) -> UpdateMyAccountBuilder<'a>
fn clone(&self) -> UpdateMyAccountBuilder<'a>
Returns a duplicate 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<'a> Freeze for UpdateMyAccountBuilder<'a>
impl<'a> RefUnwindSafe for UpdateMyAccountBuilder<'a>
impl<'a> Send for UpdateMyAccountBuilder<'a>
impl<'a> Sync for UpdateMyAccountBuilder<'a>
impl<'a> Unpin for UpdateMyAccountBuilder<'a>
impl<'a> UnwindSafe for UpdateMyAccountBuilder<'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