pub struct ProjectMemberEntity {
pub id: Option<i32>,
pub project_id: Option<i32>,
pub entity_name: Option<String>,
pub role_name: Option<String>,
pub role_id: Option<i32>,
pub entity_id: Option<i32>,
pub entity_type: Option<String>,
}Fields§
§id: Option<i32>the project member id
project_id: Option<i32>the project id
entity_name: Option<String>the name of the group member.
role_name: Option<String>the name of the role
role_id: Option<i32>the role id
entity_id: Option<i32>the id of entity, if the member is a user, it is user_id in user table. if the member is a user group, it is the user group’s ID in user_group table.
entity_type: Option<String>the entity’s type, u for user entity, g for group entity.
Implementations§
Source§impl ProjectMemberEntity
impl ProjectMemberEntity
pub fn new() -> ProjectMemberEntity
Trait Implementations§
Source§impl Clone for ProjectMemberEntity
impl Clone for ProjectMemberEntity
Source§fn clone(&self) -> ProjectMemberEntity
fn clone(&self) -> ProjectMemberEntity
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 ProjectMemberEntity
impl Debug for ProjectMemberEntity
Source§impl Default for ProjectMemberEntity
impl Default for ProjectMemberEntity
Source§fn default() -> ProjectMemberEntity
fn default() -> ProjectMemberEntity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectMemberEntity
impl<'de> Deserialize<'de> for ProjectMemberEntity
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 ProjectMemberEntity
impl PartialEq for ProjectMemberEntity
Source§impl Serialize for ProjectMemberEntity
impl Serialize for ProjectMemberEntity
impl StructuralPartialEq for ProjectMemberEntity
Auto Trait Implementations§
impl Freeze for ProjectMemberEntity
impl RefUnwindSafe for ProjectMemberEntity
impl Send for ProjectMemberEntity
impl Sync for ProjectMemberEntity
impl Unpin for ProjectMemberEntity
impl UnwindSafe for ProjectMemberEntity
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