pub struct SetUserSysAdminParams {
pub user_id: i32,
pub sysadmin_flag: UserSysAdminFlag,
pub x_request_id: Option<String>,
}Expand description
struct for passing parameters to the method set_user_sys_admin
Fields§
§user_id: i32§sysadmin_flag: UserSysAdminFlagToggle a user to admin or not.
x_request_id: Option<String>An unique ID for the request
Trait Implementations§
Source§impl Clone for SetUserSysAdminParams
impl Clone for SetUserSysAdminParams
Source§fn clone(&self) -> SetUserSysAdminParams
fn clone(&self) -> SetUserSysAdminParams
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 SetUserSysAdminParams
impl RefUnwindSafe for SetUserSysAdminParams
impl Send for SetUserSysAdminParams
impl Sync for SetUserSysAdminParams
impl Unpin for SetUserSysAdminParams
impl UnwindSafe for SetUserSysAdminParams
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