pub struct ProjectUser {
pub object: String,
pub id: String,
pub name: String,
pub email: String,
pub role: ProjectUserRole,
pub added_at: u32,
}
Expand description
Represents an individual user in a project.
Fields§
§object: String
The object type, which is always organization.project.user
id: String
The identifier, which can be referenced in API endpoints
name: String
The name of the project
email: String
The email address of the user
role: ProjectUserRole
owner
or member
added_at: u32
The Unix timestamp (in seconds) of when the project was added.
Trait Implementations§
Source§impl Clone for ProjectUser
impl Clone for ProjectUser
Source§fn clone(&self) -> ProjectUser
fn clone(&self) -> ProjectUser
Returns a copy 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 ProjectUser
impl Debug for ProjectUser
Source§impl<'de> Deserialize<'de> for ProjectUser
impl<'de> Deserialize<'de> for ProjectUser
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 ProjectUser
impl PartialEq for ProjectUser
Source§impl Serialize for ProjectUser
impl Serialize for ProjectUser
impl StructuralPartialEq for ProjectUser
Auto Trait Implementations§
impl Freeze for ProjectUser
impl RefUnwindSafe for ProjectUser
impl Send for ProjectUser
impl Sync for ProjectUser
impl Unpin for ProjectUser
impl UnwindSafe for ProjectUser
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