pub struct SetUserRoleResponse {
pub updated: bool,
pub user_id: String,
pub role: String,
}Expand description
SetUserRoleResponse model.
Fields§
§updated: bool§user_id: String§role: StringTrait Implementations§
Source§impl Clone for SetUserRoleResponse
impl Clone for SetUserRoleResponse
Source§fn clone(&self) -> SetUserRoleResponse
fn clone(&self) -> SetUserRoleResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SetUserRoleResponse
impl Debug for SetUserRoleResponse
Source§impl Default for SetUserRoleResponse
impl Default for SetUserRoleResponse
Source§fn default() -> SetUserRoleResponse
fn default() -> SetUserRoleResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetUserRoleResponse
impl<'de> Deserialize<'de> for SetUserRoleResponse
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
Source§impl PartialEq for SetUserRoleResponse
impl PartialEq for SetUserRoleResponse
Source§impl Serialize for SetUserRoleResponse
impl Serialize for SetUserRoleResponse
impl StructuralPartialEq for SetUserRoleResponse
Auto Trait Implementations§
impl Freeze for SetUserRoleResponse
impl RefUnwindSafe for SetUserRoleResponse
impl Send for SetUserRoleResponse
impl Sync for SetUserRoleResponse
impl Unpin for SetUserRoleResponse
impl UnsafeUnpin for SetUserRoleResponse
impl UnwindSafe for SetUserRoleResponse
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