pub struct GroupUserEntity {
pub id: Option<i64>,
pub group_name: Option<String>,
pub group_id: Option<i64>,
pub user_id: Option<i64>,
pub username: Option<String>,
pub admin: Option<bool>,
}
Expand description
Represents a user’s membership in a group
Fields§
§id: Option<i64>
§group_name: Option<String>
§group_id: Option<i64>
§user_id: Option<i64>
§username: Option<String>
§admin: Option<bool>
Trait Implementations§
Source§impl Clone for GroupUserEntity
impl Clone for GroupUserEntity
Source§fn clone(&self) -> GroupUserEntity
fn clone(&self) -> GroupUserEntity
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 GroupUserEntity
impl Debug for GroupUserEntity
Source§impl<'de> Deserialize<'de> for GroupUserEntity
impl<'de> Deserialize<'de> for GroupUserEntity
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 GroupUserEntity
impl RefUnwindSafe for GroupUserEntity
impl Send for GroupUserEntity
impl Sync for GroupUserEntity
impl Unpin for GroupUserEntity
impl UnwindSafe for GroupUserEntity
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