pub struct UserSettingUpdate;Expand description
Updates the user settings for the portfolio and current user. These are persisted in the database such that a user will have these settings retained between views of a page on any session.
Trait Implementations§
Source§impl<'a> ApiEndpoint<'a> for UserSettingUpdate
impl<'a> ApiEndpoint<'a> for UserSettingUpdate
const URL_PATH: &'static str = "/portfolios/{portfolio_id}/user_setting"
const HTTP_METHOD: ApiHttpMethod = ApiHttpMethod::Patch
const VERSION: &'static str = "3.0.0"
type UrlDisplay = UserSettingUpdateUrlDisplay<'a>
type Parameters = UserSettingUpdateParameters
type Success = UserSettingUpdateSuccess
fn url_path(parameters: &'a Self::Parameters) -> Self::UrlDisplay
fn url(api_host: &'a str, parameters: &'a Self::Parameters) -> ApiUrl<'a, Self>
Auto Trait Implementations§
impl Freeze for UserSettingUpdate
impl RefUnwindSafe for UserSettingUpdate
impl Send for UserSettingUpdate
impl Sync for UserSettingUpdate
impl Unpin for UserSettingUpdate
impl UnwindSafe for UserSettingUpdate
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