pub struct ProjectEntitlement {
pub assignment_source: Option<AssignmentSource>,
pub group: Option<Group>,
pub project_permission_inherited: Option<ProjectPermissionInherited>,
pub project_ref: Option<ProjectRef>,
pub team_refs: Vec<TeamRef>,
}Expand description
Relation between a project and the user’s effective permissions in that project.
Fields§
§assignment_source: Option<AssignmentSource>Assignment Source (e.g. Group or Unknown).
group: Option<Group>Project Group (e.g. Contributor, Reader etc.)
project_permission_inherited: Option<ProjectPermissionInherited>Whether the user is inheriting permissions to a project through a Azure DevOps or AAD group membership.
project_ref: Option<ProjectRef>A reference to a project
team_refs: Vec<TeamRef>Team Ref.
Implementations§
Trait Implementations§
Source§impl Clone for ProjectEntitlement
impl Clone for ProjectEntitlement
Source§fn clone(&self) -> ProjectEntitlement
fn clone(&self) -> ProjectEntitlement
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 ProjectEntitlement
impl Debug for ProjectEntitlement
Source§impl Default for ProjectEntitlement
impl Default for ProjectEntitlement
Source§fn default() -> ProjectEntitlement
fn default() -> ProjectEntitlement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectEntitlement
impl<'de> Deserialize<'de> for ProjectEntitlement
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 ProjectEntitlement
impl PartialEq for ProjectEntitlement
Source§impl Serialize for ProjectEntitlement
impl Serialize for ProjectEntitlement
impl StructuralPartialEq for ProjectEntitlement
Auto Trait Implementations§
impl Freeze for ProjectEntitlement
impl RefUnwindSafe for ProjectEntitlement
impl Send for ProjectEntitlement
impl Sync for ProjectEntitlement
impl Unpin for ProjectEntitlement
impl UnwindSafe for ProjectEntitlement
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