pub struct UpdateUserProfileParams {
pub user_id: i32,
pub profile: UserProfile,
pub x_request_id: Option<String>,
}Expand description
struct for passing parameters to the method update_user_profile
Fields§
§user_id: i32Registered user ID
profile: UserProfileOnly email, realname and comment can be modified.
x_request_id: Option<String>An unique ID for the request
Trait Implementations§
Source§impl Clone for UpdateUserProfileParams
impl Clone for UpdateUserProfileParams
Source§fn clone(&self) -> UpdateUserProfileParams
fn clone(&self) -> UpdateUserProfileParams
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 Freeze for UpdateUserProfileParams
impl RefUnwindSafe for UpdateUserProfileParams
impl Send for UpdateUserProfileParams
impl Sync for UpdateUserProfileParams
impl Unpin for UpdateUserProfileParams
impl UnwindSafe for UpdateUserProfileParams
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