pub struct AclUserUpdateRequest {
pub user_id: Option<i32>,
pub role: Option<String>,
pub password: Option<String>,
pub command_type: Option<String>,
pub extra: Value,
}
Expand description
ACL user update request
Fields§
§user_id: Option<i32>
§role: Option<String>
Optional. Changes the ACL role assigned to the user. Use GET ‘/acl/roles’ to get a list of database access roles.
password: Option<String>
Optional. Changes the user’s database password.
command_type: Option<String>
§extra: Value
Additional fields from the API
Trait Implementations§
Source§impl Clone for AclUserUpdateRequest
impl Clone for AclUserUpdateRequest
Source§fn clone(&self) -> AclUserUpdateRequest
fn clone(&self) -> AclUserUpdateRequest
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 moreSource§impl Debug for AclUserUpdateRequest
impl Debug for AclUserUpdateRequest
Source§impl<'de> Deserialize<'de> for AclUserUpdateRequest
impl<'de> Deserialize<'de> for AclUserUpdateRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AclUserUpdateRequest
impl RefUnwindSafe for AclUserUpdateRequest
impl Send for AclUserUpdateRequest
impl Sync for AclUserUpdateRequest
impl Unpin for AclUserUpdateRequest
impl UnwindSafe for AclUserUpdateRequest
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